Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (4) | Download .zip | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 105 This week: 1 | All time: 9,696 This week: 560 |
Version | License | PHP version | Categories | |||
yaml-config-service 0.8 | MIT/X Consortium ... | 5.4 | PHP 5, Libraries, Configuration |
Description | Author | |
This class can load and parse YAML configuration files for Silex. |
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'),
)
);
...
Files |
File | Role | Description | ||
---|---|---|---|---|
src (1 directory) | ||||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | Auxiliary data | ||
README.md | Doc. | Auxiliary data |
Files | / | src | / | Silex | / | Provider |
File | Role | Description |
---|---|---|
YamlConfigServiceProvider.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.