PHP code example of muradg / simparse
1. Go to this page and download the library: Download muradg/simparse 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/ */
muradg / simparse example snippets
$config = new SimParse\Config('configs', 'php');
$config->addAdapter('serialize', 'SimParse\Adapters\SerializeAdapter')
[
'mysql' => [
'host' => 'default',
'user' => 'default',
'db' => 'default',
]
]
$config->get('config.mysql.db');