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

harendrasingh's avatar

How to Setup My Laravel Project in Digitalocean?

May Be It is easy for all but this is my first time to use digital ocean cloud that's why I want to know that "How to Automatically Deploy Laravel Applications"?

0 likes
6 replies
Screenbeetle's avatar

How comfortable are you with Linux command line admin? A raw Digital Ocean server needs a bit of work to first set up a user, assign privileges, set up a ssh key (to let you ssh in). At that stage you can then use Deployer to make things easier.

If this is all new (and even if it isn't) you should consider using Laravel Forge which essentially does everything for you - including setting up databases, deployment, ssl certs etc

Edit - sorry Jeffrey beat me too it!

1 like
harendrasingh's avatar

@JEFFREYWAY - I heard about the laravel forge but I have not tried before so I need to learn first. Anyway thanks for sharing and any other option please let me know.

harendrasingh's avatar

Suppose I have to deploy laravel app in the digital ocean please guide both process 1. using laravel forge and 2nd command line

Please or to participate in this conversation.