Authored by Corey Ballou

Make Composer Globally Available

This is just a friendly tip on how to make Composer (a PHP dependency manager) globally available on your machine. All you really need to do is make sure to place the composer.phar file to a directory contained within your PATH environmental variable:

# install composer
curl -s | php
# possible paths: /usr/bin, /usr/local/bin, /bin
sudo mv composer.phar /usr/local/bin/composer

Now you can simply run composer from anywhere on your system terminal/console.

For more information on Composer and Packagist, check out there perspective websites.

Author: Corey Ballou

Corey Ballou is the CEO of Whether you're a student, young professional, entrepreneur, startup, or small business, you can be up and online fast with your own custom domain, email, and webpage on POP. Corey is a professional PHP developer by trade, specializing in custom web applications development for startups, small businesses, and agencies. Follow Corey on Twitter @cballou.