PHP Classes

The (sort of) PHP Compiler: Obfuscate PHP code using filters and compression

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,440 All time: 2,712 This week: 204Up
Version License Categories
sortacompiler 1.0GNU General Publi...Utilities and Tools, Code Generation
Description 

Author

This class can be used to obfuscate PHP code.

It can parse one or more PHP source code files using the PHP tokenizer functions to remove comments and white space.

The resulting code can be compressed using gzip before it generates a self-extracting PHP script that decompresses the original obfuscated code.

It class can call an hook to further obfuscate the source after it has been compressed.

Picture of Warren Smith
Name: Warren Smith <contact>
Classes: 4 packages by
Country: United Kingdom
Age: ???
All time rank: 49027 in United Kingdom
Week rank: 514 Down17 in United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagedocs (4 files)
Files folder imageexamples (1 file)
Plain text file Compiler.class.php Class The (sort of) PHP Compiler Class

  Files folder image Files  /  docs  
File Role Description
  Accessible without login Plain text file AUTHORS Doc. AUTHORS
  Accessible without login Plain text file CHANGELOG Doc. CHANGELOG
  Accessible without login Plain text file README Doc. README
  Accessible without login Plain text file TODO Doc. TODO

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file Compiler.php Example An example to serve as a command line front-end for the class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,440
This week:0
All time:2,712
This week:204Up
User Comments (1)
Excellent
13 years ago (kishore kumar)
80%StarStarStarStarStar