Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2015-04-21 (1 year ago) | | Not yet rated by the users | | Total: 99 | | All time: 8,469 This week: 978 |
|
Description | | Author |
This class can load and parse YAML configuration files for Silex.
It extends the base Silex service provider class to load and parse and YAML file.
The configuration values read from the YAML file are merged into the current configuration values after parameter substitution. | |
|
|
Innovation award
Nominee: 1x |
|
Details
Yaml Config Service Provider
Yaml config service provider for Silex.
Currently supports imports
statements and parameters substitution. See an example
from Silex Enhanced.
...
$app->register(
new \Fluency\Silex\Provider\YamlConfigServiceProvider(
array(
'%base_path%' => BASEPATH, '%log_path%' => BASEPATH . '/var/logs',
'%cache_path%' => BASEPATH . '/var/cache'
)
),
array(
'config.dir' => BASEPATH . '/app/Resources/config',
'config.files' => array('application.yml', 'routing.yml', 'security.yml'),
)
);
...
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.