Configuration management library
PHP
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
autoload.php
composer.json
phpunit.xml

README.md

Opis Config

Build Status Latest Stable Version Latest Unstable Version License

Configuration manager

Opis Config is a configuration management library, with support for multiple backend storages, that provides developers an API which allows them to work with configurations in a standardised way, no matter where the configurations are stored.

The supported backend storages are: File, JSON, PHPFile, Memory, DualStorage.

License

Opis Config is licensed under the Apache License, Version 2.0.

Requirements

  • PHP 7.0.* or higher

Installation

This library is available on Packagist and can be installed using Composer.

{
    "require": {
        "opis/config": "3.0.*@dev"
    }
}

If you are unable to use Composer you can download the tar.gz or the zip archive file, extract the content of the archive and include de autoload.php file into your project.


require_once 'path/to/config-master/autoload.php';

Documentation

Examples and documentation can be found here.