laravel-yaml-configuration maintained by krom
Description
Add YAML file support to Laravel Configuration
Authors
Last update
2015/12/29 12:11 (dev-master)
Downloads
3
Last update
2015/12/29 12:11
Require
- php >=5.4.0
- illuminate/config 5.*
- illuminate/foundation 5.*
- symfony/yaml 2.*
Last update
2015/12/29 11:59
Require
- php >=5.4.0
- illuminate/config 5.*
- illuminate/foundation 5.*
- symfony/yaml 2.*
Last update
2015/12/29 11:49
Require
- php >=5.4.0
- illuminate/config 5.*
- illuminate/foundation 5.*
- symfony/yaml 2.*
Last update
2015/10/19 12:24
Require
- php >=5.4.0
- illuminate/config 5.*
- illuminate/foundation 5.*
- symfony/yaml 2.*
Last update
2015/08/09 03:01
Require
- php >=5.4.0
- illuminate/config 5.*
- illuminate/foundation 5.*
- symfony/yaml 2.*
Last update
2015/08/06 10:13
Require
- php >=5.4.0
- illuminate/config 5.*
- illuminate/foundation 5.*
- symfony/yaml 2.*
Last update
2015/03/19 14:11
Require
- php >=5.4.0
- illuminate/config 5.x
- illuminate/foundation 5.x
- symfony/yaml 2.*
Last update
2015/03/19 10:56
Require
- php >=5.4.0
- illuminate/config 5.x
- illuminate/foundation 5.x
- symfony/yaml 2.*
Last update
2014/07/15 11:47
Require
- php >=5.4.0
- illuminate/config 4.x
- illuminate/foundation 4.x
- symfony/yaml 2.*
Last update
2014/07/14 11:33
Require
- php >=5.4.0
- illuminate/config 4.x
- illuminate/foundation 4.x
- symfony/yaml 2.*
Last update
2014/05/31 23:13
Require
- php >=5.4.0
- illuminate/config 4.x
- illuminate/foundation 4.x
- symfony/yaml 2.*
Last update
2014/05/24 21:46
Require
- php >=5.4.0
- illuminate/config 4.x
- illuminate/foundation 4.x
- symfony/yaml 2.*
Last update
2014/05/24 21:18
Require
- php >=5.4.0
- illuminate/config 4.x
- illuminate/foundation 4.x
- symfony/yaml 2.*
comments powered by Disqus
This package uses Symfony/Yaml parser.
Add "krom/laravel-yaml-configuration": "2.*"
to your composer.json by running :
php composer.phar require krom/laravel-yaml-configuration
And select version : 2.*
You have to add (or merge)
protected function bootstrappers()
{
return array_merge($this->bootstrappers, [\\krom\\Core\\Config\\LoadYamlConfiguration::class]);
}
to your app/Http/Kernel.php and/or app/Console/Kernel.php.
Just use regular php files or use yml or yaml files instead.
PHP :
<?php
return [
'debug' => false,
'key' => 'foobar',
];
Will be equivalent to :
YAML
debug: false
key: foobar
You can use any php functions like that :
routes_file: %app_path%/routes.php
unit_test: %base_path:behat.yml%
something: %sprintf:hell %s,world%
Enjoy it ! Feel free to fork :) !
This package is fork of devitek/yaml-configuration