misantron / silex-config-provider
Config service provider for Silex PHP framework with multiple types support
Installs: 33 378
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 1
Requires
- php: >=7.4
- composer-runtime-api: ^2.0
- silex/silex: ^2.3
Requires (Dev)
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
- symfony/yaml: ^5.0 || ^6.0
- yosymfony/toml: ^1.0
README
Config service provider for Silex PHP framework with multiple types support.
Silex framework is DEPRECATED. Use symfony/flex for future projects.
Features
- Supported types of config files: php, json, ini, xml (require libxml and simplexml extensions), toml (require yosymfony/toml) and yaml (require symfony/yaml)
- Using mixed types of configs inside one provider instance
- On load placeholder replacements
- Config key aliases
- Using environment variables for replacement
Installation
The preferred way to install is through Composer. Run this command to install the latest stable version:
composer require misantron/silex-config-provider
Documentation
Available here