PHP code example of kachit / config
1. Go to this page and download the library: Download kachit/config library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kachit / config example snippets
$reader = new Kachit\Config\Reader\Php();
$manager = new Kachit\Config\Manager($reader);
$config = $manager->read('/path/to/config/file');
$bar = $config->foo->bar;