2017 © Pedro Peláez
 

library tesla-silex-configurationmanager

configuration manager for sylex

image

24hoursmedia/tesla-silex-configurationmanager

configuration manager for sylex

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

tesla-silex-configurationmanager

Configuration manager for Silex projects, (*1)

Installation

Add to your composer.json:, (*2)

"require": {
        "24hoursmedia/tesla-silex-configurationmanager": "0.1.1"
    },

General Usage

Register as a service:, (*3)

// configure your app for the production environment
$app['config'] = $app->share(
    function () {
        $parameterFile = __DIR__ . '/parameters.json';
        $confDir = __DIR__ . '/conf.d';
        $service = new \Tesla\Silex\ConfigurationManager\ConfigurationManager($parameterFile);
        $service->registerConfigFiles(
            array(
                $confDir . '/conffile1.json',
                $confDir . '/conffile2.conf.json'
            )
        );

        return $service;
    }
);

The Versions

16/05 2014

dev-master

9999999-dev http://www.24hoursmedia.com/tesla

configuration manager for sylex

  Sources   Download

MIT

by E.Bachman

16/05 2014

0.1.2

0.1.2.0 http://www.24hoursmedia.com/tesla

configuration manager for sylex

  Sources   Download

MIT

by E.Bachman

14/02 2014

0.1.1

0.1.1.0 http://www.24hoursmedia.com/tesla

configuration manager for sylex

  Sources   Download

MIT

by E.Bachman

14/02 2014

0.1.0

0.1.0.0 http://www.24hoursmedia.com/tesla

configuration manager for sylex

  Sources   Download

MIT

by E.Bachman