Download the PHP package dizatech/yaml-translation without Composer
On this page you can find all versions of the php package dizatech/yaml-translation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dizatech/yaml-translation
More information about dizatech/yaml-translation
Files in dizatech/yaml-translation
Download dizatech/yaml-translation
More information about dizatech/yaml-translation
Files in dizatech/yaml-translation
Vendor dizatech
Package yaml-translation
Short Description Add YAML file support to Laravel TranslationServiceProvider
License MIT
Package yaml-translation
Short Description Add YAML file support to Laravel TranslationServiceProvider
License MIT
Please rate this library. Is it a good library?
Informations about the package yaml-translation
Add Yaml file support for Laravel 5 TranslationServiceProvider
This package uses Symfony/Yaml parser.
Installing
Add to your composer.json by running :
composer require devitek/yaml-translation
And select version:
Finally, publish all vendor assets to create a yaml-translation.php
:
php artisan vendor:publish
Add support in Laravel
You have to replace
'Illuminate\Translation\TranslationServiceProvider',
with
'Devitek\Core\Translation\TranslationServiceProvider',
in app/config/app.php.
How to use
Just use regular php files or use yml or yaml files instead.
PHP :
Will be equivalent to :
YAML
Enjoy it ! Feel free to fork :) !
All versions of yaml-translation with dependencies
PHP Build Version
Package Version
The package dizatech/yaml-translation contains the following files
Loading the files please wait ....