PHPWee

1.0 02 Apr 2015

Free PHP class to minify CSS, JavaScript, and HTML assets.

1

Developer website: Search Turbine

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.

PHPWee has been tested on optimized websites, offering a compression of almost 10% on wikipedia.com. On the developer's website, 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. 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 not only becoming 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.

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 take as little as one line of code to implement.

What's New

Version 1.0:
  • Initial release

Requirements

  • OS X 10.1 or later
  • PHP 5.3 or later

Ratings

Overall
(1)
Current Version (1.x)
(1)

Details

Downloads
190
Version Downloads
190
License
Free
Date
02 Apr 2015
Platform
Intel 64 / OS X / PPC 32 / Intel 32 / PPC 64
Price
Free