Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

opis/config

Repository files navigation

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.