Login   Register  
PHP Classes

Cruncher class: Compact source code removing comments and spaces

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

  Author Author  
Picture of Andrea Giammarchi
Name: Andrea Giammarchi <e-mail contact>
Packages: 17 Browse all classes by Andrea Giammarchi Browse all classes by
Country: Italy Italy - PHP jobs in Italy
Age: 35
All time rank: 182 in Italy Italy
Week rank: 75 Down3 in Italy Italy Down
Innovation award
Innovation award
Nominee: 5x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to compact source code by removing comments and white space.

It uses the SourceMap class to extract only the relevant tokens to remove comments and white space from the original source code.

It was meant to process code in languages based on ECMAScript, like JavaScript, ActionScript, and others, but could be used to clean code in other languages.

  Classes of Andrea Giammarchi  >  Cruncher class  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Cruncher class
Base name: cruncher
Description: Compact source code removing comments and spaces
Version: 0.9
PHP version: 4
License: MIT/X Consortium License
All time users: 907 users
All time rank: 3569
Week users: 1 user
Week rank: 1886 Up
  Groups   Rate classes User ratings   Dependencies  
  Dependents   Applications   Files Files  

Group folder image Utilities and Tools General purpose tools to simplify software development View top rated classes
Group folder image Compression Data compression and file archive manipulation View top rated classes

  User ratings  
There are not enough user ratings to display for this class.

  Packages needed by this class  
Class Dependency Why it is needed
SourceMap Required Use this class to map source codes

  Packages that need this class  
Class Dependency Why it is needed
GzOutput Required Required to remove comments and reduce sorces size

  Applications that use this class  
No application links were specified for this class.
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
Accessible without login Plain text file Cruncher.class.php Class Cruncher core

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