PHP Classes

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

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
Not enough user ratingsTotal: 1,442 This week: 1All time: 2,716 This week: 42Up
Version License Categories
sortacompiler 1.0GNU General Publi...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
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (6)  
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 (6)  /  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 (6)  /  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

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
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,442
This week:1
All time:2,716
This week:42Up
User Comments (1)
Excellent
15 years ago (kishore kumar)
80%StarStarStarStarStar