PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2006-07-22 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,415 All time: 2,658 This week: 856Up
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 United Kingdom
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,415
This week:0
All time:2,658
This week:856Up
User Comments (1)
Excellent
7 years ago (kishore kumar)
80%StarStarStarStarStar