Download the PHP package jjok/config without Composer
On this page you can find all versions of the php package jjok/config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor jjok
Package config
Short Description A simple configuration class.
License MIT
Homepage https://github.com/jjok/Config
Package config
Short Description A simple configuration class.
License MIT
Homepage https://github.com/jjok/Config
Please rate this library. Is it a good library?
Informations about the package config
Config
A simple configuration class.
Examples
$config = new \jjok\Config\Config();
# Set a value
$config->set('some_setting', 'Some Value');
try {
# Get a value that has been set
echo $config->get('some_setting');
# Trying to get a value that hasn't been set throws an exception
echo $config->get('fdg');
}
catch(\Exception $e) {
echo $e->getMessage();
}
Get configuration instance in one line:
return new \jjok\Config\Config(array(
'some_setting' => 'Some Value',
'some_other_setting' => 'Some Other Value'
));
Run tests
phpunit
Copyright (c) 2013 Jonathan Jefferies
All versions of config with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package jjok/config contains the following files
Loading the files please wait ...
