PHP code example of starbug / config
1. Go to this page and download the library: Download starbug/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/ */
starbug / config example snippets
use Starbug\Config\Config;
$config = new Config($locator);
$data = $config->get("test");
// $data will contain the merged data from both files
var_dump($data);