2017 © Pedro Peláez
 

library config-service-provider

Config service provider for Silex.

image

oziks/config-service-provider

Config service provider for Silex.

  • Wednesday, March 27, 2013
  • by oziks
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

ConfigServiceProvider

A config ServiceProvider for Silex with support for yaml., (*1)

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:, (*2)

"oziks/config-service-provider": "dev-master"

And enable it in your application:, (*3)

``` php <?php, (*4)

use Oziks\Provider\ConfigServiceProvider;, (*5)

$app->register(new ConfigServiceProvider(), array( 'config.path' => glob(DIR.'/*/Resources/views/') )); ```, (*6)

The Versions

27/03 2013

dev-master

9999999-dev https://github.com/oziks/ConfigServiceProvider

Config service provider for Silex.

  Sources   Download

MIT

The Requires

 

config silex yaml