PHP code example of fyre / config

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

    

fyre / config example snippets


use Fyre\Config\Config;

Config::addPath($path, $prepend);

Config::clear();

$value = Config::consume($key, $default);

$deleted = Config::delete($key);

$value = Config::get($key, $default);

$paths = Config::getPaths();

$has = Config::has($key);

Config::load($file);

$removed = Config::removePath($path);

Config::set($key, $value, $overwrite);