Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.
First you have to go to the /tmp directory
cd /tmp
Download the composer.phar file
curl -sS https://getcomposer.org/installer | php
Move it to /usr/local/bin/
mv composer.phar /usr/local/bin/composer
Facebook Comments