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
Requires
- php: >=5.6
- silex/silex: >=2
- symfony/yaml: ~3.1
Requires (Dev)
- phpunit/php-code-coverage: ^4.0
- phpunit/phpunit: ^5.6
- satooshi/php-coveralls: ^1.0
- squizlabs/php_codesniffer: ^2.7
This package is not auto-updated.
Last update: 2019-02-20 19:35:03 UTC
README
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