.. index:: double: Composer; Installation
Composer is the package manager used by modern PHP applications. Use Composer to manage dependencies in your Symfony applications and to install Symfony Components in your PHP projects.
It's recommended to install Composer globally in your system as explained in the following sections.
To install Composer on Linux or Mac OS X, execute the following two commands:
$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer
Note
If you don't have curl
installed, you can also just download the
installer
file manually at https://getcomposer.org/installer and
then run:
$ php installer
$ sudo mv composer.phar /usr/local/bin/composer
Download the installer from getcomposer.org/download, execute it and follow the instructions.
Read the Composer documentation to learn more about its usage and features.