dev-master
9999999-devyaml parser for laravel 4
MIT
The Requires
- php >=5.3.0
- illuminate/support 4.x|5.0.x
- symfony/yaml 2.5.5
by broklyngagah aka pieter lelaona
laravel parser yaml
Wallogit.com
2017 © Pedro Peláez
yaml parser for laravel 4
Now this package support for laravel 5, (*1)
This using symfony2 yaml component., (*2)
for simple way, try using composer, add this on your composer.json file in require tag, (*3)
"pieter/yaml": "dev-master"
and run from terminal, (*4)
~/php composer.phar update "pieter/yaml"
after that, add this code on app/config/app.php, (*5)
array(
'providers' => array (
other providers,
'Pieter\Yaml\YamlServiceProvider',
),
'aliases' => array (
other aliases,
'Yaml' => 'Pieter\Yaml\Facades\Yaml',
)
),
)
If you want to create custom config, you can use default config and publish to your project config folder, (*6)
~/php artisan config:publish pieter/yaml
just create in yaml on app/config folder and call from your controller, (*7)
\Yaml::setFile('[your_file].yml');
return \Yaml::parsing();
enjoy it !, (*8)
yaml parser for laravel 4
MIT
laravel parser yaml