2017 © Pedro Peláez
 

library simple-json-config

Simple JSON config loader in PHP

image

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

The README.md

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');

The Versions

29/09 2015

dev-master

9999999-dev

Simple JSON config loader in PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Avatar Thiphariel

29/09 2015

v0.0.2

0.0.2.0

Simple JSON config loader in PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Avatar Thiphariel

29/09 2015

v0.0.1

0.0.1.0

Simple JSON config loader in PHP

  Sources   Download

The Requires

  • php >=5.3.0

 

by Avatar Thiphariel