2017 © Pedro Peláez
 

library silex-provider-configloader

Services providing loading of configuration files.

image

linkorb/silex-provider-configloader

Services providing loading of configuration files.

  • Thursday, June 1, 2017
  • by joostfaassen
  • Repository
  • 4 Watchers
  • 0 Stars
  • 109 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 1 % Grown

The README.md

linkorb/silex-provider-configloader

Services providing loading of configuration files., (*1)

Two services are provided and registered with a Pimple container:-, (*2)

  • config.loader.ini: loads ini files
  • config.loader.yaml: loads Yaml files

A third, optional service comfig.loader.env is registered if the Symfony Dotenv component is installed., (*3)

Install

Install using composer:-, (*4)

$ composer require linkorb/silex-provider-configloader

and optionally require symfony/dotenv during development:-, (*5)

$ composer require --dev symfony/dotenv

Then register the provider:-, (*6)

// app/app.php
use LinkORB\ConfigLoader\Provider\ConfigurationLoaderProvider;
...
$app->register(new ConfigurationLoaderProvider);

Usage

$config = $app['config.loader.ini']->load('path/to/config.ini');

The Versions

01/06 2017

dev-master

9999999-dev

Services providing loading of configuration files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by LinkORB

01/06 2017

v1.1.1

1.1.1.0

Services providing loading of configuration files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by LinkORB

31/05 2017

v1.1.0

1.1.0.0

Services providing loading of configuration files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by LinkORB

16/05 2017

v1.0

1.0.0.0

Services providing loading of configuration files.

  Sources   Download

MIT

The Requires

 

by LinkORB