redot / laravel-lang-extractor
A Laravel package to extract language keys from your project files and generate a language file from them.
Installs: 1 766
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 0
Forks: 2
Open Issues: 0
Requires
- php: ^8.1
- illuminate/console: ^10.0|^11.0|^12.0
- illuminate/support: ^10.0|^11.0|^12.0
Requires (Dev)
- laravel/pint: ^1.10
This package is auto-updated.
Last update: 2025-03-24 15:29:09 UTC
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}