1. Go to this page and download the library: Download andym84/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/ */
andym84 / config example snippets
use AndyM84\Config\ConfigContainer;
use AndyM84\Config\Migrator;
// Perform any nfig file for easy use
$cfg = new ConfigContainer(file_get_contents('siteSettings.json'));
echo($cfg->get('configVersion')); // Echos whatever version your configs are at after migration