CodeEncryption
1.0.0
$ git clone https://github.com/Jader/CodeEncryption.git
$ cd CodeEncryption // 进入项目根目录
$ docker-compose up -d // 容器编排命令
$ docker-compose exec swoole-compiler swoole-compiler
├── code // 这里放加密的文件或文件夹
├── conf // 加密时所使用的配置文件目录
├── output // 加密完成后授权文件和加密文件包存在位置
├── docker-compose.yml
├── LICENSE
├── README.md
Swoole-Compiler情報を入手し、情報を支援します
docker-compose exec swoole-compiler swoole-compiler
承認ファイルを生成します
docker-compose exec swoole-compiler swoole-compiler -t license -c conf/compiler.config
暗号化されたファイルを生成します
docker-compose exec swoole-compiler swoole-compiler -t code -c conf/compiler.config
Swoole-Compiler Serverが必要とするPHP拡張機能と構成
php.ini
[swoole_compiler]
extension=swoole_loader72.so ; 关于扩展需要去swoole官方购买后得到
swoole_license_files=/data/www/Jade/jade.license ;这里是产生的授权文件