| Package Data | |
|---|---|
| Maintainer Username: | broklyngagah |
| Maintainer Contact: | broklyn.gagah@gamail.com (broklyngagah aka pieter lelaona) |
| Package Create Date: | 2013-09-06 |
| Package Last Update: | 2014-10-01 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-06 15:16:40 |
| Package Statistics | |
|---|---|
| Total Downloads: | 1,276 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 1 |
| Total Watchers: | 1 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
Now this package support for laravel 5
This using symfony2 yaml component.
for simple way, try using composer, add this on your composer.json file in require tag
"pieter/yaml": "dev-master"
and run from terminal
~/php composer.phar update "pieter/yaml"
after that, add this code on app/config/app.php
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
~/php artisan config:publish pieter/yaml
just create in yaml on app/config folder and call from your controller
\Yaml::setFile('[your_file].yml');
return \Yaml::parsing();
enjoy it !