PHP code example of fas / configuration

1. Go to this page and download the library: Download fas/configuration 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/ */

    

fas / configuration example snippets




as\Configuration\DotNotation;
use Fas\Configuration\YamlLoader;

$configuration = new DotNotation(YamlLoader::loadWithOverrides('/app/config.yml'));
var_dump($configuration->

/app/test.php:9:
string(8) "mydbhost"