The Config Component

The Config component provides several classes to help you find, load,combine, autofill and validate configuration values of any kind, whatevertheir source may be (YAML, XML, INI files, or for instance a database).

Installation

  1. $ composer require symfony/config

Note

If you install this component outside of a Symfony application, you mustrequire the vendor/autoload.php file in your code to enable the classautoloading mechanism provided by Composer. Readthis article for more details.

Learn More