How to install php composer in Linux

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

We can install it using curl.

#curl -sS https://getcomposer.org/installer | php

If we need to make composer globally accessible,

#mv composer.phar /usr/local/bin/composer

That's all......

Leave a Reply

Your email address will not be published. Required fields are marked *