This package provides artisan commands to export language files from PHP to Yaml. Then, import it back to PHP.
Via Composer
$ composer require ellipsesynergie/locale-to-yaml
...
First, add EllipseSynergie\LocaleToYaml\LocaleToYamlServiceProvider::class
to providers
of config file app.php
.
php artisan lang:export-to-yaml resources/lang/en/app.php
php artisan lang:import-from-yaml resources/lang/en/app.yml resources/lang/en/app.php
Please see CHANGELOG for more information what has changed recently.
$ composer test tests/
Please see CONTRIBUTING and CONDUCT for details.
The MIT License (MIT). Please see License File for more information.