PHP code example of infrajs / config
1. Go to this page and download the library: Download infrajs/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/ */
infrajs / config example snippets
use infrajs\config\Config;
$conf = Config::get('имя расширения');
echo $conf['name']; //Лёха
json
{
"dependencies":"event",
"ajs\\access\\Access",
"off": false,
"js": "path/to/js",
"tester":"test.php",
"testerjs":"test.js"
}