You are browsing the Symfony 4 documentation, which changes significantly from Symfony 3.x. If your app doesn't use Symfony 4 yet, browse the Symfony 3.4 documentation.
The Config Component
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:
- Install it via Composer (
- Use the official Git repository (https://github.com/symfony/config).
Then, require the
vendor/autoload.php file to enable the autoloading mechanism
provided by Composer. Otherwise, your application won't be able to find the classes
of this Symfony component.
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.