1. Installation

You can install the component in 2 different ways:

Note

This section is based on Symfony2 documentation.

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.