g4/config

g4 application config manager

2.1.0 2023-10-30 11:54 UTC

This package is auto-updated.

Last update: 2024-03-30 00:29:23 UTC


README

Config - configuration parser - somewhere between ZF1 and ZF2, sections with include ...

Install

Using Composer and Packagist

composer require g4/config

Usage

$config = new G4\Config\Config();

$data = $config
    ->setCachePath(__DIR__)
    ->setSection('local')
    ->setPath('config.ini')
    ->getData();

Development

Install dependencies

$ make install

Run tests

$ make test

License

(The MIT License) see LICENSE file for details...