configurator
Release time!
作曲家経由
composer require assada/configuratorPHP:> = 7.0
Symfony/Yaml:> = 3.2
symfony/yamlの代わりに、pecl yaml拡張機能をインストールすることをお勧めします。
$ 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 ());ConfiguratorはGPL3.0ライセンスの下でリリースされます。詳細については、バンドルされたライセンスファイルを参照してください。
アレックス・イリエンコ(@assada)