ItalyStrap Config Module - a simple and useful configuration package the OOP way
The best way to use this package is through Composer:
composer require italystrap/config
use ItalyStrap\Config\Config;
$config = new Config($configObjOrArrayOptional, $configDefaultOptional);
$value = $config->get('key', $optionalDefaultValue);
You can see more advanced example in the tests' folder.
List of all deprecated method that will be removed in the next major release.
Config::push()
=>Config::set()
Config::add()
=>Config::set()
Config::remove()
=>Config::delete()
Config::all()
=>Config::toArray()
ConfigThemeMods::class
All feedback / bug reports / pull requests are welcome.
Copyright (c) 2019 Enea Overclokk, ItalyStrap
This code is licensed under the MIT.
Ideas for the Config::class from:
For the Notation Array Search:
For some ideas: