misantron/silex-config-provider

Config service provider for Silex PHP framework with multiple types support

v4.1.2 2021-12-27 08:56 UTC

This package is auto-updated.

Last update: 2024-07-05 00:51:04 UTC


README

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