PHPWee is an open source product, made up of three different PHP classes.
These three classes handle HTML, JS, and CSS minification operations separately, allowing developers to use only a specific type of code compression without using the other two.
Utilizing something like PHPWee is not only recommended, but generally a good idea, since most search engines today (starting with Google) put a major factor on page loading speed in ranking search results.
Due to its very simplistic structure and Composer support, PHPWee can be easily integrated into any existing PHP project, allowing developers to compress code and then deliver it to clients.
The best thing about it is that the HTML minification process can even work in real-time, with HTML code produced dynamically by the PHP interpreter at runtime.
This allows absolutely all the code delivered to clients to be optimized, even if it's written in the XHTML, HTML4, or HTML5 standards.
Requirements:
- PHP 5.3 or higher
Comments not found