ewc / config
Parse configuration options from multiple source types into a single interactive config object.
Installs: 20
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.5
- ewc/commons: 1.0.*
Requires (Dev)
- ewc/commons: dev-master
- phpunit/phpunit: ^4.8
This package is auto-updated.
Last update: 2024-04-13 06:55:55 UTC
README
Parse configuration options from multiple source types into a single interactive config object.
Features
- Config object wrapping and default value access support
- Import config with over loading
- YAML config file parsing
- BaSH style conf file parsing
- PHP Array style config file parsing
- JSON config file parsing
- Command Line Interface config parsing
- PSR-4 autoloading compliant structure
- Comprehensive Guides and tutorial
- Easy to use to any framework or even a plain php file
Bugs
- Command Line Interface Parser - Issue with hyphens in switch names 'switch-name' for both flags and value parameters.
ToDo
- Parser - Move the check for file existence to parser base.
- AParser - Allow for validation of source existence in abstraction.
- Config - Update the parser to use the scope functionality of Config.
- Command Line Interface Parser - Add ability to load additional configuration via CLI switch.
- YAML Parser - Add ability to load additional configuration via callback function.
- JSON Parser - Add ability to load additional configuration via callback function.
- Parser - Create a INI file config parser.
- Examples - Write examples and implementations for parser use cases.
- Tests - Write more tests for all parsers.