Login   Register  
PHP Classes
elePHPant
Icontem

MagicMin: Merge and minify and JavaScript and CSS files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Bennett Stone
Name: Bennett Stone <contact>
Classes: 2 packages by
Country: United States United States
Age: 29
All time rank: 1785233 in United States United States
Week rank: 16 Up1 in United States United States Up


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can merge and minify and JavaScript and CSS files.

It can compress JavaScript and CSS files by stripping unnecessary comments, spaces, tabs and line breaks. Previously minified images are skipped.

The Javascript processing can use JSMin or the Google Closure API.

The class can also merge multiple JavaScript and CSS files to minimize the number of server requests.

External images used by CSS files may be converted to be inserted in the CSS styles using data URLs.

The class caches processed files to avoid processing overhead until any of the source files is changed.

  Classes of Bennett Stone  >  MagicMin  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: MagicMin
Base name: magic-min
Description: Merge and minify and JavaScript and CSS files
Version: 2.9
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 467 users
All time rank: 5424
Week users: 64 users
Week rank: 15 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Compression Data compression and file archive manipulation View top rated classes


  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class.magic-min.php Class Class source
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file jShrink.php Aux. Auxiliary script
Accessible without login Plain text file README.md Doc. Documentation

Install with Composer Install with Composer - Download Download all files: magic-min.tar.gz magic-min.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.