https://github.com/misantron/silex-config-provider
Config service provider for Silex PHP framework with multiple types support
https://github.com/misantron/silex-config-provider
config php service-provider silex-framework silex-provider
Last synced: 7 months ago
JSON representation
Config service provider for Silex PHP framework with multiple types support
- Host: GitHub
- URL: https://github.com/misantron/silex-config-provider
- Owner: misantron
- License: mit
- Created: 2017-04-04T12:15:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-04T23:06:37.000Z (about 2 years ago)
- Last Synced: 2025-03-07T13:17:54.848Z (7 months ago)
- Topics: config, php, service-provider, silex-framework, silex-provider
- Language: PHP
- Homepage:
- Size: 106 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Config service provider
[](https://github.com/misantron/silex-config-provider/actions)
[](https://app.codacy.com/gh/misantron/silex-config-provider/files)
[](https://app.codacy.com/gh/misantron/silex-config-provider)
[](https://github.com/misantron/silex-config-provider)
[](https://packagist.org/packages/misantron/silex-config-provider)Config service provider for [Silex](http://silex.sensiolabs.org) PHP framework with multiple types support.
Silex framework is DEPRECATED. Use [symfony/flex](https://github.com/symfony/flex) for future projects.## Features
* Supported types of config files: php, json, ini, xml (require [libxml](https://www.php.net/manual/en/book.libxml.php) and [simplexml](https://www.php.net/manual/en/book.simplexml.php) extensions), toml (require [yosymfony/toml](https://github.com/yosymfony/toml)) and yaml (require [symfony/yaml](https://github.com/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](https://getcomposer.org).
Run this command to install the latest stable version:```bash
composer require misantron/silex-config-provider
```## Documentation
Available [here](https://github.com/misantron/silex-config-provider/wiki)