2017 © Pedro Peláez
 

library pimple-config

A service provider for Pimple to load configuration from simple PHP files.

image

vaibhavpandeyvpz/pimple-config

A service provider for Pimple to load configuration from simple PHP files.

  • Sunday, March 26, 2017
  • by vaibhavpandeyvpz
  • Repository
  • 1 Watchers
  • 2 Stars
  • 129 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

vaibhavpandeyvpz/pimple-config

A service provider for Pimple to load configuration from simple PHP files., (*1)

Latest Version Scrutinizer Code Quality SensioLabsInsight Total Downloads Software License, (*2)

Install

composer require vaibhavpandeyvpz/pimple-config

Usage

<?php

$container = new Pimple\Container();

/**
 * @desc You can add as many as config service providers.
 */
$container->register(new Pimple\Config\ConfigServiceProvider(), [
    'config.files' => [
        __DIR__ . '/database.php',
        __DIR__ . '/security.php',
    ]
]);

$container['config.hydrate']($container);

License

See LICENSE.md file., (*3)

The Versions

26/03 2017

dev-master

9999999-dev http://vaibhavpandeyvpz.github.io/pimple-config

A service provider for Pimple to load configuration from simple PHP files.

  Sources   Download

MIT

The Requires

 

service config provider pimple

26/03 2017

2.0

2.0.0.0 http://vaibhavpandeyvpz.github.io/pimple-config

A service provider for Pimple to load configuration from simple PHP files.

  Sources   Download

MIT

The Requires

 

service config provider pimple

14/09 2016

1.0

1.0.0.0 http://vaibhavpandeyvpz.github.io/pimple-config

A service provider for Pimple to load configuration from simple PHP files.

  Sources   Download

MIT

The Requires

 

service config provider pimple