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

TimiAde's avatar

Hosting Laravel App for easy CI and CD

I want to use Digital Oceans to host laravel project with easy CI and CD. Push code from github and it will reflect in the site. How can i do it. Does laravel offer a quick solution.

0 likes
3 replies
martinbean's avatar

I want to use Digital Oceans to host laravel project with easy CI and CD. Push code from github and it will reflect in the site. How can i do it. Does laravel offer a quick solution.

@timiade Yes. It’s called Forge.

1 like
mahii12's avatar

Set up a DigitalOcean Droplet and note its IP address.

Install the LEMP stack (Nginx, MySQL, PHP) on the Droplet.

Clone your Laravel project from GitHub onto the Droplet and install dependencies.

Configure Nginx to point to your project's public directory.

Set up CI/CD using GitHub Actions or another service:

Define a workflow triggered by pushes to your repository. Specify steps to deploy your Laravel project, such as updating the code on the Droplet. With this setup, pushing code changes to your GitHub repository will trigger the CI/CD pipeline, deploying the updated Laravel project on your DigitalOcean Droplet.

Please or to participate in this conversation.