linkorb / config
Universal configuration data loader
v1.0.0
2020-05-02 11:53 UTC
Requires
- php: >=7.2.0
- symfony/expression-language: ^4.0|^5.0
- symfony/yaml: ^4.0|^5.0
This package is auto-updated.
Last update: 2024-11-29 06:28:36 UTC
README
This library lets you recursively load configuration data from JSON, YAML and similar files.
- It outputs a single data array with all of your configuration data
- It allows users to split their configuration data into multiple files that can be included.
- Includes keep track of their original files, so relative paths are relative to the file that defines them.
- JSON files can include YAML files and visa-versa
Usage
Refer to examples/example.php for a clear example of this library's usage