The Config Component
The Config Component
The Config component provides several classes to help you find, load, combine, fill and validate configuration values of any kind, whatever their source may be (YAML, XML, INI files, or for instance a database).
Installation
$ composer require symfony/config
Note
If you install this component outside of a Symfony application, you must require the vendor/autoload.php
file in your code to enable the class autoloading mechanism provided by Composer. Read this article for more details.
Learn More
- Caching based on Resources
- Defining and Processing Configuration Values
- Loading Resources
- How to Create Friendly Configuration for a Bundle
- How to Load Service Configuration inside a Bundle
- How to Simplify Configuration of Multiple Bundles
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.