Skip to content

Instantly share code, notes, and snippets.

@TomHAnderson
Created June 8, 2015 22:46
Show Gist options
  • Save TomHAnderson/e3b5598d676ba4468e10 to your computer and use it in GitHub Desktop.
Save TomHAnderson/e3b5598d676ba4468e10 to your computer and use it in GitHub Desktop.

Download Composer

Run this in your terminal to get the latest Composer version:

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

Or if you don't have curl:

php -r "readfile('https://getcomposer.org/installer');" | php

This installer script will simply check some php.ini settings, warn you if they are set incorrectly, and then download the latest composer.phar in the current directory.

For composer documentation, please refer to getcomposer.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment