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

Oplearner's avatar

How to host laravel application on digital ocean.

Am planning to use digital ocean for my next laravel project. At this early stage of the project I can't afford laravel forge for server set up, can anyone point me to how I may be able to set up the server without forge. I have never configured a vps server, so am a beginner when it come to setting up one but I want to learn it since I can't afford the services forge offers for now.

0 likes
4 replies
aurawindsurfing's avatar

Hi,

The short answer is NO.

Get Laravel Forge for 12USD per month or get the free one for 5 days. Set up your server. Then try to do the same after 5 days without Laravel Forge and do it in 5 days.

It really makes no sense not to use Laravel Forge. It is a timesaver and no-brainer really.

Hope it helps!

mattsplat's avatar

Forge is great and totally worth the cost especially if you have multiple apps but sometimes you have to struggle with something to appreciate it enough to pay for it. I can't provide you a step by step for Laravel but here are some resources to get started.

Start with a LAMP application https://www.digitalocean.com/docs/one-clicks/lamp/ Or LEMP if you prefer https://www.digitalocean.com/docs/one-clicks/lemp/

Install Laravel dependencies https://laravel.com/docs/5.7#installation

Here is a slightly outdated guide. https://www.digitalocean.com/community/tutorials/automatically-deploy-laravel-applications-deployer-ubuntu

jlrdw's avatar

You do realize digital ocean has tutorials right.

Please or to participate in this conversation.