PHPWee is a free and open-source PHP minification tool that helps improve website resources including HTML, HTML5, CSS, and JavaScript files. It is licensed under BSD and comes with easy-to-use documentation.

This software has been tested on optimized websites and offers almost 10% compression on wikipedia.com. On the developer's website, the compression rates for HTML and CSS are 17% and 30% respectively. One notable thing about PHPWee's HTML compression technology is that it uses a novel approach - it parses HTML documents and removes unneeded spaces and verbosity without changing meaning. The output is generally at least as W3C compliant as the input. The CSS minifier is based on CssMin package by Joe Scylla [email protected], while the JavaScript compressor is also a composite work based on Douglas Crockford's JSMin.
The importance of page loading speed is increasing rapidly and is now becoming an essential element of web user interface design. The slow loading of poorly optimized code can decrease the speed of a web page by up to 20%, even after GZip compression is applied at the server side. PHPWee can help you in this regard. We typically see a 15%+ improvement in page load speed on un-optimized websites by using PHPWee. Even websites like Wikipedia and Github.com can be optimized to achieve faster load times. You can check the benchmark tests on searchturbine.com/php/phpwee.
PHPWee is the first full-stack HTML, Javascript, and CSS minifier for PHP. This unique feature makes PHPWee standout among the other software options available for code optimization, such as YUI compressor and Google Closure. The software can be set up on any modern PHP host in under 5 minutes and takes just one line of code to implement. If you are looking for an easy-to-use and efficient software for minification on PHP, PHPWee is an excellent option to consider.
Version 1.0: Newly released open-source software.