2017 © Pedro Peláez
 

library config_loader

Really simple ini config loader

image

garoevans/config_loader

Really simple ini config loader

  • Thursday, July 17, 2014
  • by garoevans
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Config Loader

Latest Stable Version Build Status License, (*1)

Installation

This library requires PHP 5.3 or later, and is installable and autoloadable via Composer as garoevans/config_loader., (*2)

Usage

use Garoevans\ConfigLoader;

$config = ConfigLoader('config_directory', 'ini_file_name.ini');
$config->load();

// Gets the ini section called 'db' or returns an empty array
$config->get('db', array());

// Gets the value of 'host' from the 'db' section or returns an empty string
$config->get('db/host', '');

The Versions

17/07 2014

dev-master

9999999-dev

Really simple ini config loader

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Gareth Evans

17/07 2014

v0.0.1

0.0.1.0

Really simple ini config loader

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Gareth Evans