PHPWee
Infocard
| ||||||||||||||||
|
PHP Minifier for CSS, JavaScript and HTML
|
37 Kb |
Contents
Description by the Publisher
PHPWee is a free (BSD License) open-source PHP5 minifier script for HTML, HTML5, XHTML, CSS1-3 and JavaScript assets.
Simply put - it reduces file size and load time for websites without any PHP code changes.
Here is come example PHP5 code: $minified_html = PHPWee\Minify::html($any_html);
PHPWee has been tested on optimized websites - offering a compression of almost 10% on wikipedia.com. On the developers- website - https://searchturbine.com - we see 17% compression of HTML and 30% for CSS and Javascript.
The PHPWee HTML compression technology is totally new. It actually parses HTML documents and removes unneeded spaces and verbosity without changing meaning in any way. 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]. The JavaScript compressor is also a composite work based on Douglas Crockford's JSMin.
Why Minify?
If you care to take a look at Google Page Speed tools - page loading speed is becoming not only an important part of web user interface design - but is also starting to affect organic search positioning. Poorly optimized code may be slowing the web down by as much as 20% - even after GZip compression is applied at the server side.
PHPWee Performance?
We typically see a 15%+ improvement on page load speed on un-optimized websites by applying phpwee. Even Wikipedia and Github.com can get a boost. The benchmark tests can be found at searchturbine.com/php/phpwee.
Why PHPWee?
There are some excellent tools to minify code out there - such as YUI compressor and Google Closure. PHPWee is the first full-stack HTML, Javascript and CSS minifier for PHP. It can be set up on any modern PHP host in under 5 minutes - can takes only 1 line of code to implement.
Limitations in the Downloadable Version
No Limitations
Product Identity
Unique Product ID: PID-F200B2611888
Unique Publisher ID: BID-C200EA2E9788