I do PHP development in WSL (Windows System for Linux) on Windows 10, and currently use the built-in PHP dev server, but it is incredibly limited and you need to run different apps on different ports - and there isn’t TLS support afaik. I’m wondering if using Caddy as a local dev server would solve these issues and generally be nicer to work with. To configure it all properly, I’d need to manually edit the Caddyfile and Windows hosts file for each app I want to run. While not tricky, it does take some level of effort so I’m thinking of trying to script it.
Rather than write my own scripts, I thought I should ask in here first, to see if there is already something available I can use and potentially contribute to?