For PHP, I don't know, but for HTML I use Tidy. I have no idea how it'll handle PHP, but if you have PHP embedded in your HTML, you probably have bigger problems than making it look good.
Community driven content discussing all aspects of software development from DevOps to design patterns. Don’t fret if you’re a developer with an Apache web server and the goal is to code an HTML5 and ...
Using a combination of PHP and HTML, developers can create interactive websites in which users enter data. Web forms can include a variety of input elements, including single line text-fields, which ...