ahmed-aliraqi / lang-generator
This package used to search for all lang keys from views and put them to lang files
Installs: 1 938
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=8.1
- illuminate/console: >=9.0
- illuminate/filesystem: >=9.0
- illuminate/support: >=9.0
- laraeast/laravel-locales: ^3.3
This package is auto-updated.
Last update: 2024-10-30 02:10:40 UTC
README
This package used to search for all lang keys from views and put them to lang files
Installation
composer require ahmed-aliraqi/lang-generator --dev
The package will automatically register a service provider.
Configure
Next, you should publish the config file:
php artisan vendor:publish --provider="AhmedAliraqi\LangGenerator\ServiceProvider" --tag="config"
lang
key contains the lang files and their paths.
Usage
php artisan lang:generate