misantron / silex-config-provider
Config service provider for Silex PHP framework with multiple types support
Package info
github.com/misantron/silex-config-provider
pkg:composer/misantron/silex-config-provider
v4.1.2
2021-12-27 08:56 UTC
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