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 = new Config();
$container->singleton(Config::class);
$config->addPath($path, $prepend);
$config->clear();
$value = $config->consume($key, $default);
$config->delete($key);
$value = $config->get($key, $default);
$paths = $config->getPaths();
$has = $config->has($key);
$config->load($file);
$config->removePath($path);
$config->set($key, $value, $overwrite);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.