PHP Obfuscator
https://github.com/naneau/php-obfuscator
This is an “obfuscator” for PSR/OOp PHP code. Different from other obfuscators, which often use a (reversible) eval() based obfuscation, this tool actually parses PHP, and obfuscates variable names, methods, etc. This means is can not be reversed by tools such as UnPHP. This library was written out of the need to obfuscate the source for a private library which for various reasons could not be shared without steps to protect the source from prying eyes. It is not technically feasible to “encrypt” PHP source code, while retaining the option to run it on a standard PHP runtime.
install: git clone https://github.com/naneau/php-obfuscator , composer install
Run: path//php-obfuscator$ ./bin/obfuscate obfuscate input output
input, output – direcories in the php-obfuscator folder.
Free PHP obfuscator