assada / configurator
This package is abandoned and no longer maintained.
No replacement package was suggested.
Simple configuration container
0.2.1
2017-01-29 23:27 UTC
Requires
- php: >=7.0.0
- symfony/yaml: 3.2.*
Suggests
- ext-yaml: For faster parsing/dump yaml configurations instead of symfony/yaml
This package is not auto-updated.
Last update: 2022-12-10 17:47:27 UTC
README
Installation
Via Composer
composer require assada/configurator
Requirements
PHP: >= 7.0
symfony/yaml: >= 3.2
Instead of symfony/yaml suggest install PECL yaml extension.
Usage
$config = new Config(['./configs/test.json', './configs/test2.json']); $config->add('./test3.json'); $config->set('test.set', 'newData'); file_put_contents('export.json', $config->dump('json')); var_dump($config->all());
License
Configurator is released under the GPL3.0 Licence. See the bundled LICENSE file for details.
Author
Alex Ilyenko (@Assada)