PHPackages                             harchibald/configuration - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. harchibald/configuration

ActiveLibrary

harchibald/configuration
========================

A generic configuration class

1.0.0(13y ago)165MITPHPPHP &gt;=5.3.0

Since Aug 23Pushed 13y ago1 watchersCompare

[ Source](https://github.com/chok/Configuration)[ Packagist](https://packagist.org/packages/harchibald/configuration)[ Docs](http://github.com/chok/Configuration)[ RSS](/packages/harchibald-configuration/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Configuration
=============

[](#configuration)

Configuration is a generic class for any kind of configuration

Installation
============

[](#installation)

via Composer
------------

[](#via-composer)

The recommended way to install Configuration is through `Composer `\_.

1. Add `harchibald/configuration` as a dependency in your project's `composer.json` file:

```
{
    "require": {
        "harchibald/configuration": "*"
    }
}
```

Consider tightening your dependencies to a known version when deploying mission critical applications (e.g. `2.7.*`).

2. Download and install Composer:

```
$ curl -s http://getcomposer.org/installer | php
```

3. Install your dependencies:

```
$ php composer.phar install
```

4. Require Composer's autoloader

Composer also prepares an autoload file that's capable of autoloading all of the classes in any of the libraries that it downloads. To use it, just add the following line to your code's bootstrap process:

```
