Bob PHP Compiler

PHP Source Code Protection, Native AOT Solution.

Key features

Source Code Protection

By compiling PHP to Scheme, then to C, finally binary native,
BPC achieves 100% PHP source code protection.

PHP Native AOT

PHP scripts finally compiled to standalone executable or dynamic shared library.
No opcode, No Zend VM, just pure native binaries.

Robust Licensing Machine

Integrate with licensing, software can hardly be broken or bypassed.
Any such kind of trying will be time-consuming and rewardless.

Highly Compatible with PHP

BPC passed PHP phpt test cases, so you can simply develope with PHP,
compile and release with BPC.

Easy Deployment

Final output is ONE standalone executable or a few dynamic shared libraries,
deployment is so easy.

Easy Extension Development

BPC extension development is far more easier than that of PHP,
it is simply scheme code or c api calls.

Supported extensionsGithub

standard
posix
date
pcre
mbstring
json
fileinfo
session
filter
curl
spl
pdo
pdo_mysql
pdo_sqlite
openssl
ctype
pcntl
hash
simplexml
iconv
zip
event (core)
mysqli
gmp

Successfully compiled projects

PHPUnit 4.8Github
Zend Framework 1Github
PHP_XLSXWriterGithub
workerman-4.1Github
GatewayWorker-3.xGithub
wordpress-6.2.2-zh_CNGithub
nikic-fast-route-1.3.0Github
monolog-2.xGithub
webman-frameworkGithub
webmanGithub
webman-adminGithub
Tiny File ManagerGithub
reactphp/promise-2.xGithub
amphp/amp-2.xGithub
think-orm-3.0.20Github
topthink-framework-8.0.3Github
ThinkPHP8Github