oziks / config-service-provider
Config service provider for Silex.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/oziks/config-service-provider
Requires
- symfony/yaml: ~2.2
This package is not auto-updated.
Last update: 2025-09-27 18:37:55 UTC
README
A config ServiceProvider for Silex with support for yaml.
Parameters
- config.path : Path to the directory containing Yaml configuration files (it can also be an array of paths).
Registering
To enable it, add this dependency to your composer.json
file:
"oziks/config-service-provider": "dev-master"
And enable it in your application:
<?php use Oziks\Provider\ConfigServiceProvider; $app->register(new ConfigServiceProvider(), array( 'config.path' => glob(__DIR__.'/*/Resources/views/') ));