Configuration
new \BSFP\C(__DIR__ . '/path/to/configFolder');
Retrieve your config
\BSFP\C::get('filename');
Work with one level of folder and Yaml and Json files.
config/hello.json
{
"what": "world"
}
index.php
<?php
new \BSFP\C(__DIR__ . '/config');
echo 'Hello ' . \BSFP\C::get('hello')->get('what');
result:
php index.php
Hello world
./vendor/bin/phpunit --bootstrap vendor/autoload.php tests