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

admirhusic's avatar

Laravel deployment - the easy way

What is the best and cheapest way to deploy a laravel demo application. I tried on heroku and it works well for simpler apps, however it is very complicated to configure everything; database, file storage, email, etc. So I need everything in one go. I know Forge is the best, but this is only for demo apps/portfolio. I have also my shared hosting but I don't have terminal access, so I can't run migrations... Any advice?

0 likes
4 replies
Tray2's avatar

Shared hosting is a bit tricky.

If you can use git, composer and npm on the host it's good otherwise you need to use a ftp-client and run sql scripts in phpmyadmin to create the needed tables..

jjmu15's avatar

I use Laravel Forge and it makes everything simple and straight forward for pretty much all laravel features including queues and so on

GTHell's avatar

Are you familiar with Docker? I suggest DigitalOcean + docker. Either docker compose or just running a docker file with persisted data is easy way to manage and scale your application.

Please or to participate in this conversation.