PHP code example of philiprehberger / php-config-loader
1. Go to this page and download the library: Download philiprehberger/php-config-loader 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/ */
philiprehberger / php-config-loader example snippets
use PhilipRehberger\ConfigLoader\ConfigLoader;
// Load a PHP config file
$config = ConfigLoader::load(__DIR__ . '/config/app.php');
// Load a JSON config file
$config = ConfigLoader::load(__DIR__ . '/config/database.json');
// Load a YAML config file (