2017 © Pedro Peláez
 

library miniconfig

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

image

jtet/miniconfig

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

  • Monday, November 19, 2012
  • by jtet
  • Repository
  • 0 Watchers
  • 1 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

MiniConfig

Simple configuration file loader for PHP in 20 lines of code., (*1)

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., (*2)

$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., (*3)

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

License

MiniConfig is available for your use under the OSL-3.0 license., (*4)

The Versions

19/11 2012

dev-master

9999999-dev https://github.com/jtet/MiniConfig

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

  Sources   Download

OSL-3.0

The Requires

  • php >=5.3.0

 

by Avatar jtet

ini config yaml

19/11 2012

1.0.0

1.0.0.0 https://github.com/jtet/MiniConfig

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

  Sources   Download

OSL-3.0

The Requires

  • php >=5.3.0

 

by Avatar jtet

ini config yaml