composer-phpshared-hosting

Workaround to install composer without SSH access


Without understanding that I needed SSH Access to deploy my Laravel 8 project smoothly, I purchased the Single Shared Hosting tier from Hostinger which does not offer SSH Access. I have to install Composer, but most of the tutorials I have seen requires the use of SSH in doing so.

Deploying the project has to be done before tomorrow morning and I still have no idea what to do next. I am new to this.


Solution

  • If your plan doesn't have SSH Access, follow these steps:

    If you can gain SSH Access, you can simply use composer commands as usual.