Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You will use the command-line according to your installation.

  LocallyGlobally

Command-line

$> php composer.phar$> composer

Advantages

No rights needed
No configuration needed (out of the box)
Every user on the server can access to composer CLI
You have your Composer outside your web RootDirectory

Installation

Locally

Code Block
themeFadeToGrey
languagepowershell
curl -sS https://getcomposer.org/installer | php


or (according to your user rights on your system)

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

Globally

Code Block
themeFadeToGrey
languagepowershell
curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer

 

 

Info
See the official Composer documentation for further documentation.

...