gorka / config
Configuration management
v1.0.0
2015-05-26 16:40 UTC
Requires
- gorka/dot-notation-access: ^1.0
- symfony/yaml: ^2.6
Requires (Dev)
- mikey179/vfsstream: ^1.5
- phpunit/phpunit: ^4.6
This package is not auto-updated.
Last update: 2024-11-23 17:17:23 UTC
README
⚠️ This project is unmaintained and might eventually be removed. Use it at your own risk.
Configuration management
Configuration management for PHP
Example
Given a yaml config file, allows accessing config properties with dot notation interface:
mongo:
user: gorka
pass: s3cr3t
<?php $config = new Config('config.yml'); $config->get('mongo.user');