Download the PHP package devitek/yaml-translation without Composer
On this page you can find all versions of the php package devitek/yaml-translation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download devitek/yaml-translation
More information about devitek/yaml-translation
Files in devitek/yaml-translation
Download devitek/yaml-translation
More information about devitek/yaml-translation
Files in devitek/yaml-translation
Vendor devitek
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
Requires
php Version
>=7.0
illuminate/translation Version ~5.5
illuminate/support Version ~5.5
symfony/yaml Version 3.*
illuminate/translation Version ~5.5
illuminate/support Version ~5.5
symfony/yaml Version 3.*
The package devitek/yaml-translation contains the following files
Loading the files please wait ....