Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dzinformatique's avatar

Installing laravel on server without SSH

Hello, I'm an absolute beginner so it's possible I'm making a crucial mistake here or something. Til now I've developed my laravel app locally, and now I would like to deploy it to my server, however, I haven't got SSH acces. Can I still install Laravel? Thanks

0 likes
7 replies
iffifan's avatar

Yes sure

Follow these for deployment on shared hosting:

1- Upload all your files to your domain home folder.

2- Get a database and import your local database

3- Connect database to your app via .env file or config/database.php

4- Till now you can access your website via /public folder, to get rid of this follow possible steps here: https://driesvints.com/blog/laravel-4-on-a-shared-host

3 likes
bashy's avatar

Just include the /vendor/ folder and you'll be good. Don't need SSH for anything else apart from database migrating.

1 like
dumoulin.jb's avatar

Hi ! @bashy What do you mean with "include the /vendor/ folder" ? The vendor "laravel" ? Where we have to include ?

Thank's

kreitje's avatar

Typically you don't commit the vendor in the project root. When you run composer install it will add all those files for you. By including the vendor folder, you no longer need to run composer install

bashy's avatar

@dumoulin.jb Only include that if you don't want to use composer on your server or you don't have access to do it (SSH)

Please or to participate in this conversation.