Skip to content

jtet/MiniConfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MiniConfig

Simple configuration file loader for PHP in 20 lines of code.

##Using MiniConfig

Mini Config can load YAML (.yml) or INI (.ini) files. The variables in your configuration file can be accessed as if they were properties of the Config object.

$c = new \JTet\Mini\Config("config.yml");
echo $c->db_user;

##Getting MiniConfig

Add the following to your composer.json file and run composer update.

"require": {
        "jtet/miniconfig": "dev-master"
    }

##License MiniConfig is available for your use under the OSL-3.0 license.

About

Simple configuration file loader for PHP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages