Can I host Laravel 5.6 on DigitalOcean Droplet? Which operating system is recommended?

March 21, 2018 4.2k views
Deployment

According to Laravel documentation, the server requirements are the following:
PHP >= 7.1.3
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
XML PHP Extension
Ctype PHP Extension
JSON PHP Extension

Can I deploy my Laravel 5.6 app to Digital Ocean? Which operating system would be the best to use?

2 Answers
eddiezane MOD March 21, 2018
Accepted Answer

Can I deploy my Laravel 5.6 app to Digital Ocean? Which operating system would be the best to use?

Absolutely! Which OS is totally up to you.

Take a look at our LEMP One-Click which should get you started.

If you feel like learning to do it on your own run through our Laravel Nginx tutorial.

by Mateusz Papiernik
Laravel is one of the most popular open-source web application frameworks written in PHP. It aims to help developers build both simple and complex applications by making frequently-used application tasks (like caching and authentication) easier. In this tutorial, we will deploy a simple Laravel application with a production environment in mind.

Yes, you can deploy Laravel 5 to DigitalOcean. If you're in need of step-by-step directions, I'd recommend this How-To Deploy Laravel to DigitalOcean resource, which is quite helpful!

Have another answer? Share your knowledge.