Install Plugins
You can also see the list of available official plugins and created by communities.
For a manager to work, you need to do two things:
- Install the package into your application. For example,
composer require laravel-lang/lang --dev
. - It's all 😊
Now, when the php artisan lang:update
command is executed, the manager will check the specified packages and automatically update the files in your application.
If files with the same names exist in different packages, for example, custom.php
, then during their processing all keys from all files will be combined.
For ease of development, use a ready-made Translations Template.
It's all. Enjoy! 😊