GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Jader/CodeEncryption: :whale: 快速、方便的 Swoole-Compiler 代码加密环境

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
code
code
 
 
conf
conf
 
 
output
output
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
renovate.json
renovate.json
 
 

Repository files navigation

快速、方便的 Swoole-Compiler 代码加密环境

部署

安装依赖工具

  • Git
  • Docker [https://docs.docker.com/install/]
  • Docker-compose [https://docs.docker.com/compose/install/#install-compose]

获取部署脚本

$ 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 服务端所需的 PHP 扩展 和配置

php.ini

[swoole_compiler]
extension=swoole_loader72.so ; 关于扩展需要去swoole官方购买后得到
swoole_license_files=/data/www/Jade/jade.license ;这里是产生的授权文件

About

🐳 快速、方便的 Swoole-Compiler 代码加密环境

Topics

codeencryptiondockerphp-libraryswoole-compiler

Resources

Readme
Apache-2.0 license
Activity

Stars

111 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.