2017 © Pedro Peláez
 

library config

A configuration component

image

heropoo/config

A configuration component

  • Friday, January 26, 2018
  • by heropoo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 33 % Grown

The README.md

config

A configuration component, (*1)

Usage:

Install it via Composer:, (*2)

composer require heropoo/config
<?php
require_once './Config.php';
require_once './Exception.php';

use Moon\Config\Config;

$config = new Config('/path/to/config/dir');

//if get charset in app.php return 
$charset = $config->get('app.charset');

// the second parameter is if throw a exception
// when this config is not defined
$charset = $config->get('app.charset', true);

The Versions

26/01 2018

dev-master

9999999-dev

A configuration component

  Sources   Download

MIT

The Requires

  • php >= 5.4

 

by Avatar heropoo

configuration config

26/01 2018

v0.1

0.1.0.0

A configuration component

  Sources   Download

MIT

The Requires

  • php >= 5.4

 

by Avatar heropoo

configuration config