edgaralves / config

PHP Config class

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Config class

Configuration class to get parameteres defined in xml, json or php conf files.

Usage

config.json

{
    'companyName': 'Test Company'
}

PHP usage

echo 'My company is' . Config::get('companyName');

About

PHP Config class


Languages

Language:PHP 100.0%