I think I found exactly what your looking for, IceCoder
ICEcoder (Open Source, $10 for v5.x)
ICEcoder is an open-source browser code editor, which provides a
modern approach to building websites. By allowing you to code directly
within the web browser, online or offline, it means you only need one
program (your browser) to develop sites, plus can test on actual web
servers. After development, you can also maintain the website easily,
all of which make for speedy and smart development.
Check out ICEcoder's features here: https://icecoder.net/features
