free-elephants / configuration
0.10.0
2016-01-01 11:24 UTC
Requires
- free-elephants/bitmask: 1.0.0-rc
- symfony/console: *
- symfony/yaml: *
Requires (Dev)
- phpunit/phpunit: ^5.1
This package is not auto-updated.
Last update: 2024-11-09 20:12:16 UTC
README
Based on Config component's concept from Zend Framework.
Summary
Currently supported formats:
- PHP (native arrays)
- YAML
- JSON
Configuration include Readers and Writers.
Readers can read configuration from files in supported formats or strings.
Writers can dump configuration to files or strings.
Console Tool
php bin/config-tool.php config:convert config-source.php config-dest.yaml
Run php bin/config-tool.php -h
for get usage.