configurator
Release time!
Über Komponist
composer require assada/configuratorPhp:> = 7.0
Symfony/Yaml:> = 3.2
Anstelle von Symfony/Yaml schlagen Sie vor, die Pecl YAML -Erweiterung zu installieren.
$ 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 ());Konfigurator wird unter der GPL3.0 -Lizenz veröffentlicht. Weitere Informationen finden Sie in der gebündelten Lizenzdatei.
Alex Ilyenko (@assada)