2017 © Pedro Peláez
 

library configuration

Provides a simple configuration utility.

image

cbc/configuration

Provides a simple configuration utility.

  • Friday, August 29, 2014
  • by Cameron Condry
  • Repository
  • 1 Watchers
  • 2 Stars
  • 111 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

Configuration

A simple configuration object for your every configuration need., (*1)

Getting Started

@TODO: Complete getting started, (*2)

Example:, (*3)

use CBC\Utility\Configuration;

$config = [
    'database' => [
        'username' => 'db_username',
        'password' => 'db_password'
    ]
];

$config['database.name'] = 'db_name';

$configuration = new Configuration($config);

var_dump($configuration->get('database.username'));
// outputs:
// string (11) 'db_username'

var_dump($configuration->get('database'));
// outputs:
// array(3) [
//      'username' => 'db_username',
//      'password' => 'db_password',
//      'name'     => 'db_name'
// ]

The Versions

29/08 2014

dev-master

9999999-dev

Provides a simple configuration utility.

  Sources   Download

MIT

The Development Requires

by Avatar Cameron Condry

configuration dot notation

29/08 2014

dev-develop

dev-develop

Provides a simple configuration utility.

  Sources   Download

MIT

The Development Requires

by Avatar Cameron Condry

configuration dot notation

29/08 2014

v0.1.0

0.1.0.0

Provides a simple configuration utility.

  Sources   Download

MIT

The Development Requires

by Avatar Cameron Condry

configuration dot notation