PHPackages                             bsfp/config - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. bsfp/config

ActiveLibrary[Framework](/categories/framework)

bsfp/config
===========

framework

282PHP

Since Nov 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bsfp/config)[ Packagist](https://packagist.org/packages/bsfp/config)[ RSS](/packages/bsfp-config/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

\\BSFP\\C
=========

[](#bsfpc)

API
---

[](#api)

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.

Demo
----

[](#demo)

> config/hello.json

```
{
  "what": "world"
}
```

> index.php

```
