1. Go to this page and download the library: Download chilimatic/config-component 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/ */
\chilimatic\lib\Config\ConfigFactory::make(
'file',
[
\chilimatic\lib\Config\Adapter\File::CONFIG_PATH_INDEX => __DIR__ . '/test/data',
\chilimatic\lib\Config\Adapter\File::HOST_ID_KEY => 'www.example.com'
]
); // returns the same as the example above