GitHub repository: stemar/html-pretty-min
Description: PHP library for minifying and indenting HTML documents that works on the DOM tree