PHP Classes

Cruncher class: Compact source code removing comments and spaces

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 960 All time: 3,759 This week: 560Up
Version License PHP version Categories
cruncher 0.9MIT/X Consortium ...4Tools, 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: 46
All time rank: 192 in Italy Italy
Week rank: 180 Down7 in Italy Italy Down
Innovation award
Innovation award
Nominee: 5x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloadcruncher-2007-02-11.zip 1KB
Downloadcruncher-2007-02-11.tar.gz
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%1
Total:960
This week:0
All time:3,759
This week:560Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:45%StarStarStar
Rank:3387