Douglas Crockford's JSMin ported to PHP. Open source and requires PHP5. Its a JavaScript minifier that trims out unnecessary whitespace, which chops down JavaScript files significantly.
A port of Douglas Crockford's command line JSMin in Perl. It removes extraneous whitespace and comments, but does not obfuscate the code.