ellipsesynergie / locale-to-yaml
dev-master / 1.0.x-dev
2018-10-25 12:24 UTC
Requires
- php: ~5.6|~7.0
- symfony/console: ^3.1
- symfony/yaml: ^3.1
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0
- squizlabs/php_codesniffer: ^2.3
- symfony/framework-bundle: ^3.1
This package is auto-updated.
Last update: 2024-10-26 06:43:19 UTC
README
This package provides artisan commands to export language files from PHP to Yaml. Then, import it back to PHP.
Install
Via Composer
$ composer require ellipsesynergie/locale-to-yaml
Usage
...
Laravel
First, add EllipseSynergie\LocaleToYaml\LocaleToYamlServiceProvider::class
to providers
of config file app.php
.
Export
php artisan lang:export-to-yaml resources/lang/en/app.php
Import
php artisan lang:import-from-yaml resources/lang/en/app.yml resources/lang/en/app.php
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test tests/
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
Credits
License
The MIT License (MIT). Please see License File for more information.