Skip to content

misantron/silex-config-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Config service provider

Build Status Code Coverage Code Quality PHP Version Packagist

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