Before starting: Make sure you have the necessary folders and permissions — get more information.
Dependency Manager for PHP.
Install or upgrade Composer.
curl https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
Verify the Installation
Verify that you have successfully installed Composer.