Composer is a tool for dependency management in PHP. This tutorial will guide you on how you can install Composer on your hosting account.
First, make sure that SSH is enabled for your account. If you are not sure that this is the case, you can contact your hosting provider for more information.
Once you make sure Secure Shell is enabled, you can connect to your account.
Now that you are connected to the console, type in the following command:
curl -sS https://getcomposer.org/installer | php
That’s it! It will show you that the composer has been successfully installed.