| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 106 | All time: 9,710 This week: 31 | ||||
| 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'),
)
);
...
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Lic. | Auxiliary data | |||
| Doc. | Auxiliary data | |||
| / | src | / | Silex | / | Provider |
| File | Role | Description |
|---|---|---|
| |
Class | Class source |
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
| yaml-config-service-2015-04-21.zip 3KB | |
| yaml-config-service-2015-04-21.tar.gz 3KB | |
| Install with Composer |
| 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.