PHP code example of assada / configurator
1. Go to this page and download the library: Download assada/configurator 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/ */
assada / configurator example snippets
$config = new Config(['./configs/test.json', './configs/test2.json']);
$config->add('./test3.json');
$config->set('test.set', 'newData');
file_put_contents('export.json', $config->dump('json'));
var_dump($config->all());