Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Browsersync + connect-php,
Php - S localhost:8080 -t path/to/entry/point
Pick your poison, PHP is absolutely fine in a local environment if you use the right tool.
Any of those will do the job nicely
@DLMousey docker 💙
QCat8963y@DLMousey even if I prefer testing on the same environment as prod, php bundled server is the easiest way
Chroma33yIf you want something easy, you could give Laragon a try.
You should use Docker, make a nginx and phpfpm container, inject the configurations from your host machine in the Dockerfile and you'll be rendering HTML or PHP in less than a quarter of an hour and most Docker images are setup and almost ready to go, so no system software to install or screw with and you have an immutable installation which can be replicated anywhere with ease, just a simple "docker-compose up nginx" and bingo, i just downloaded your repo and now have your app working in front of me in like 5 minutes
I cant recommend Docker enough, its really worth the time to learn because of the benefits it gives you, which are hard to understand at first, bit easy to realise when you see what is happening <3
Atari3423yThanks for all your recommendations, I'll definitely check out docker and xampp.
Trust me dude, it will change your life, afterwards, you'll be wondering why you never found out about this before
randomphp323yFor local environment, I'm using easyphp's devserver. Super easy setup.
A-C-E61843yYou had me at HTML script