Simple stateless configuration manager

v0.1.2 2016-10-08 20:14 UTC

This package is not auto-updated.

Last update: 2024-05-15 17:37:07 UTC


README

Build Status Coverage Status StyleCI

Simple stateless configuration manager

Formats

Supported formats: PHP, JSON and INI.

Usage

use Kote\Config;

$config = Config\getConfig("/path/to/config", Config\Formats\JSON);

$someKey = Config\getValue($config, "config1.someKey", defaultValue);
$key = Config\getValue($config, "other.key");
$token = Config\getValue($config, "app.token");