PHPWee is an open source minifier script for PHP. It allows CSS, JS and HTML to be reduced in file size by up to 30% without changing its meaning. It can even minify html code on-the-fly as php produces it. This allows websites to load faster, and in fewer http round trips.
PHPWee is unique in its smart minification of HTML code. It is HTML4, XHTML and HTML5 aware and tested. It also supports preserved whitespace for CDATA Elements such as pre textarea. It removes unneeded whitespace and comments (except IE conditional comments).
In contrast to 'bug-prone' RegEx based minifying attempts - PHPWee produces a validates and parses HTML DOM documents producing W3C compliant output wherever possible.
This software is not reviewed yet.