Knowledgebase

How to Use Composer in your cPanel Shared Hosting Account Print

  • 1

At HostStage all Shared Web hosting accounts are delivered with Composer ready to be used. 
Composer allows users to install scripts and all their dependancies quickly. 
You can pull scripts / projects directly from Github for instance and run extremely power applications. 

Here is the tutorial on how to get started. 

1) Your web hosting account comes with a pre activated SSH access. Using a SSH client, you would need to login to your account using the server's IP. The Shared servers are using the port 2223. The username and the password are the ones used to connect to your cPanel account. 

2) Type the following command to see composer: 

composer -V

3) You may update composer by running the command: 

composer self-update

4) You can get more inforlmation on how to use it directly from their website: 


https://getcomposer.org


That's it! Using composer is very easy and would allow to expand the usage you have of your web hosting account.

Was this answer helpful?

« Back

Start typing and press Enter to search