Login   Register  
PHP Classes
elePHPant
Icontem

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
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-02-11 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 914 All time: 3,591 This week: 1,485Up
Version License PHP version Categories  
cruncher 0.9MIT/X Consortium License4Utilities and Tools, Compression
Description Author  
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.
Picture of Andrea Giammarchi
Name: Andrea Giammarchi <contact>
Classes: 17 packages by
Country: Italy Italy
Age: 36
All time rank: 182 in Italy Italy
Week rank: 142 Down7 in Italy Italy Down
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Accessible without login Plain text file Cruncher.class.php Class Cruncher core

Downloadcruncher-2007-02-11.zip 1KB
Downloadcruncher-2007-02-11.tar.gz 1KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
SourceMap Download .zip .tar.gz Use this class to map source codes Required
 Version Control Reuses Unique User Downloads Download Rankings  
 0%1Total:914All time:3,591
 This week:0This week:1,485Up