From Han Wiki

Composer is a dependency manager for PHP.


  • Last tested on Ubuntu 14.04.2 LTS (trusty) | easy | less than a minute

Installing Composer.

mhan@brahms:~/bin $ curl -sS | php
#!/usr/bin/env php
All settings correct for using Composer

Composer successfully installed to: /home/mhan/bin/composer.phar
Use it: php composer.phar

Make sure you have PHP (CLI version) installed. If you're the only developer on the machine, you may want to create a folder called ~/bin and put the generated composer file there. I usually rename mine to simply composer and then make it only user executable. By default it becomes other-executable. This way I can just invoke $ composer update from anywhere. Feel free to make it available to others by moving it to /usr/local/bin.


Be sure to run $ composer self-update often because numerous updates are occurring on a daily basis.


  1. Composer. Program documentation. Composer. N.p., n.d. Web. 26 Feb. 2015. <>.