php-beast is a source code encryption module. You can use this module to encrypt PHP source code and run it under this module.
The PHP source code encryption tool (php-beast) php7 version mainly supports PHP7. Just select the php7 branch and compile and install it. How to use:
1) Installation
$wgethttps://codeload.github.com/liexusong/php-beast/zip/php7
$unzipphp-beast-php7.zip
$cdphp-beast-php7
$phpize
$./configure
$sudomake&&makeinstall
2) Modify php.ini to add configuration: extension=beast.so
3) Restart the server php-fpm
4) To encrypt PHP files, use beast_encode_file($input_file,$output_file); provided by the module to encrypt the file. $input_file is the file to be encrypted, and $output_file is the encrypted file to be output.
5) Put the encrypted file on the server and run it.