I want to build an Application with PHP and Laravel: the application will use Postgres Database, and sit on an NginX Server.
How do I implement these installations in a Local environment on my Laptop ?
Regards.
I want to build an Application with PHP and Laravel: the application will use Postgres Database, and sit on an NginX Server.
How do I implement these installations in a Local environment on my Laptop ?
Regards.
Hey there! This is probably not the best place to get help with setting up PHP/Laravel and Postgres. However, there seem to be quite a few tutorials out there that cover your specific use case such as Chapter 1: Dokerize Laravel App with Nginx and Postgres. - DEV Community.
In so far as setting up a dev environment in your laptop, you can probably go with either containers or a VM. The guide I shared above uses containers, but a VM should also do the trick. To setup NGINX you can either pull the official NGINX Docker image from Dockerhub or follow the steps here nginx: Linux packages to get it installed on a VM.