dev-master
9999999-devReally simple ini config loader
MIT
The Requires
- php >=5.3
The Development Requires
by Gareth Evans
v0.0.1
0.0.1.0Really simple ini config loader
MIT
The Requires
- php >=5.3
The Development Requires
by Gareth Evans
Wallogit.com
2017 © Pedro Peláez
Really simple ini config loader
This library requires PHP 5.3 or later, and is installable and autoloadable via Composer as garoevans/config_loader., (*2)
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', '');
Really simple ini config loader
MIT
Really simple ini config loader
MIT