Download the PHP package genasyst/php-compressor without Composer
On this page you can find all versions of the php package genasyst/php-compressor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download genasyst/php-compressor
More information about genasyst/php-compressor
Files in genasyst/php-compressor
Package php-compressor
Short Description PHP code compressor or obfuscator
License MIT
Homepage https://github.com/genasyst/phpCompressor
Informations about the package php-compressor
phpCompressor
View work and use compressor DEMO
README.RU.md РУССКОЕ ОПИСАНИЕ
phpCompressor - The main task of compressing PHP code, it is also possible to use as a simple PHP obfuscator. The compressor compresses the code by removing spaces, line breaks code comment, abbreviations of names of local variables in functions, abbreviations of names of property classes (variables), abbreviations of names of class methods.
Reduction settings
- Reduction of local variable names in functions
- Reduction of names of properties of classes (variables)
- Reduction of the names of class methods
- To remove spaces, comments and line breaks
The principle of abbreviating names ===== Aliases are used to abbreviate names, which are formed depending on the frequency of use of the name.
For example: the name 'data' is used 98 times in the code, 'options' - 70 times, 'values' - 68 times, etc.on fading... The result will be
- 'data' => 'a'
- 'options' => 'b'
- 'values' => 'c'
- '...' => 'd...aa'
- 'rare_name' => 'ab'
- .....
Installation =====
To install, use the composer composer:
php composer.phar require genasyst/php-compressor