You are browsing the documentation for Symfony 2.2 which is not maintained anymore.

Consider upgrading your projects to Symfony 5.3.

The Config Component

2.2 version

The Config Component


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


You can install the component in 2 different ways:

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.