Command for easily add languages to a Laravel project
ablunier/laravel-lang-installer is a Laravel package for command for easily add languages to a laravel project.
It currently has 12 GitHub stars and 974 downloads on Packagist (latest version 1.1.1).
Install it with composer require ablunier/laravel-lang-installer.
Discover more Laravel packages by ablunier
or browse all Laravel packages to compare alternatives.
Last updated
Install translation files for any language with a command in your laravel projects. The language files will be downloaded from the awesome caouecs languages repository.
Add the package to your composer.json:
composer require ablunier/laravel-lang-installer
Add the service provider in app.php:
Ablunier\Laravel\Translation\LanguageInstallerServiceProvider::class,
Publish the package's assets:
php artisan vendor:publish
Edit the 'lang-installer.php' file in your config folder to add your required languages and files.
Execute the command:
php artisan lang:install