library simple-json-config
Simple JSON config loader in PHP
thiphariel/simple-json-config
Simple JSON config loader in PHP
- Tuesday, September 29, 2015
- by Thiphariel
- Repository
- 0 Watchers
- 0 Stars
- 1 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
Simple JSON config
$config = new Config('config.json');
$host = $config->get("host");
$port = $config->get("port");
// Nested keys
$env = $config->get("environment.dev");
Autoload
Use composer PSR-4 autoload, (*1)
$ composer dumpautoload
Then just require the autoloader, (*2)
<?php
require_once('vendor/autoload.php');
dev-master
9999999-dev
Simple JSON config loader in PHP
Sources
Download
The Requires
by
Thiphariel
v0.0.2
0.0.2.0
Simple JSON config loader in PHP
Sources
Download
The Requires
by
Thiphariel
v0.0.1
0.0.1.0
Simple JSON config loader in PHP
Sources
Download
The Requires
by
Thiphariel