Installing Composer

Table of Contents

  1. Installation

Sonassi natively supports Composer, you can install and run composer in the conventional way for Linux for a global installation.


Composer is installed globally using the default installation method.

cd /home/www-data
curl -sS | php -- -1
chmod +x composer.phar

If you want to make the binary available to all users, you should use the root account to copy it to /usr/local/bin/ directory.

su -l root
mv /home/www-data/composer.phar /usr/local/bin/composer

Then you can access composer using the composer binary name.