trillr/yaml-configuration-service-provider

This package is abandoned and no longer maintained. No replacement package was suggested.

Silex Service Provider for easy use of YAML configuration files.

1.0.0 2016-11-23 18:10 UTC

This package is not auto-updated.

Last update: 2019-02-20 19:35:03 UTC


README

Latest Stable Version Total Downloads License

Latest Unstable Version Build Status Coverage Status SensioLabsInsight

Service provider for Silex for using YAML configuration files.

Features

  • Load YAML configuration-files with just one line of code
  • Integrated setter for silex debug-status if provided as root-element
  • Possibility to pass variables which will be replaced while processing configuration-file
  • Unit-tests

Requirements

  • silex/silex >= v2
  • symfony/yaml ~3.1

Installation

Step 1: Download

$ composer require trillr/yaml-configuration-service-provider

This command requires you to have Composer installed globally, as explained in the Composer documentation.

Step 2: Register the Service Provider

$app->register(new \Trillr\Silex\YamlConfigurationServiceProvider(<PATH_TO_CONFIG>));

License

This software is published under the MIT License