ellipsesynergie/locale-to-yaml

dev-master / 1.0.x-dev 2018-10-25 12:24 UTC

This package is auto-updated.

Last update: 2024-10-26 06:43:19 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.