Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 678 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 678 Bytes

NFSimpleConfig

A very simple configuration library that loads a list of files that each return an array and merges them together.

Installation

Using Composer:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/nineteenfeet/NFSimpleConfig"
        }
    ],
    "require": {
        "nineteenfeet/nf-simple-config": "1.*",
    }
}

Alternatively, install manually.

Usage

$config = \NFSimpleConfig\Config::loadConfig(array(
        'path/to/config/config.php',
        'path/to/config/local.php',
    ));