redot / laravel-lang-extractor
A Laravel package to extract language keys from your project files and generate a language file from them.
v1.0.4
2026-03-18 08:45 UTC
Requires
- php: ^8.1
- illuminate/console: ^10.0|^11.0|^12.0|^13.0
- illuminate/support: ^10.0|^11.0|^12.0|^13.0
Requires (Dev)
- laravel/pint: ^1.21
README
Laravel Lang Extractor is a tool to extract translation keys from blade files and generate a new language file.
Installation
Installation of this package is done through composer.
composer require --dev redot/laravel-lang-extractor
Usage
To extract translation keys from blade files and generate a new language file, run the following command:
php artisan lang:extract {language}