Pages

Sunday, 19 July 2015

Installing Composer[Dependency Manager for php] in Linux OS[Easy Way]



Hello friends, in this post i'm gonna show you how to install Composer in Linux.
So prerequisite for this tut is you must read and implement the steps provided in this article on setting up php in path!

After doing this you must have Curl(basically used to transfer data from or to a server using various supported protocols like FTP, HTTP, HTTPS etc..) installed on your machine. if that's not the case then use the following command to install curl in to your machine.


this command will do the rest of the work and install curl into your machine!

So now time to install super awesome Composer into our linux machine! 

use the following command to pull composer into your machine using curl



Now as i pulled composer from the remote server using curl now it the time to move composer.phar(phar means php archive) file to our binary folder use the following command to perform that task



Now you can restart your system and then simply type composer in terminal and magic!!! Composer is installed ! like this

 That's it! Thanks for reading!


No comments:

Post a Comment