jowy / silex-config-service-provider
Silex Config Service Provider
Installs: 206
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/jowy/silex-config-service-provider
Requires
- jowy/silex-cache-service-provider: ~1.0
- pimple/pimple: ~3.0
Requires (Dev)
- symfony/yaml: ~2.6
This package is not auto-updated.
Last update: 2025-10-11 23:11:41 UTC
README
Provide Configuration Service for Silex
Usage
Installation
For yaml based config
$this->app->register(new ConfigServiceProvider("path/to/config.yml"));
For php array based config
$this->app->register(new ConfigServiceProvider("path/to/config.php"));
Access Config
$app["config"]->get("key/subkey/subsubkey");
License
MIT, see LICENSE