Laravel Lang Extractor is a tool to extract translation keys from blade files and generate a new language file.
Installation of this package is done through composer.
composer require --dev redot/laravel-lang-extractor
To extract translation keys from blade files and generate a new language file, run the following command:
php artisan lang:extract {language}