Currently I'm using Digital Ocean droplets and a server management and devops service called Ploi. Not the cheapest option since you end up paying for two things, but I have found it to be convenient especially for Laravel/Statamic, and since I'm not the most knowledgeable when it comes to configuring and managing servers 😅
Thanks for such a great video. I would like to add one free option (good for prototyping or MVPs) Render. The only downside with Render is that you need to deploy it as a docker container but they do have a Laravel template which needs few modifications.
@@aschmelyun I already know how to set up Dockerfile and docker-compose but don't know how to integrate it with Gitlab and always run tests and deploy to public server.
@@Dommmin Ahh, okay. If you haven't purchased it already, I have my course on laraveldocker.com that is going to have a massive update soon that'll cover CI/CD stuff. I'm also planning a couple videos in the next few months to cover some of those topics more in depth too!
Nice content. Thank you Andrew. But I wonder why you didn't include Forge. Is there any particular reason? Wondering since it has been one of the first SasS for deploying Laravel and it come from Laravel team itself 😃 I have been using it for over 7 years now and really happy with it
For security, you don't want to make your env file and other sensitive data available for every one. If you put all in public_html you expose all those data to public...
@@adisonmasih try it and let us know ! The problem is : public_html is accessible for everyone so they can list your files. So you need to put only public folders/files at this level and avoid all the headache. It is a best practice. Also, i think that shared hosting is not the best solution for deploying apps, so put some extra money and effort and live in peace. (Exp: digital ocean start with 5$ and you're good to go with full control on your server...)
Hi Andrew, many of th times I run into problem of lower base PHP of server vs higher required by my app in shared hosting so I won't be able to run any artisan command there. What can be a solution to this in the shared hosting?