What command-line do you have to use for using Composer ?
In documentation you will find
$> php composer.phar <command> |
and
$> composer <command> |
You will use the command-line according to your installation.
Locally | Globally | |
---|---|---|
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 |
|
curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer |
See the official Composer documentation for further documentation. |