christiaan/php-sandbox
Composer 安装命令:
composer require christiaan/php-sandbox
包简介
Php Sandbox in a child process which should make it possible to run user supplied code safely
关键字:
README 文档
README
Php Sandbox in a child process which should make it possible to run user supplied PHP code safely.
This is a proof of concept, it works but as far as I know does not run in production anywhere. Because it runs a process for each sandbox it is also much slower than real sandbox solutions.
If you want to offer a scripting solution to your end users you are most likely better off using either the LUA or JavaScript V8 php extensions.
Installation
php composer.phar require christiaan/php-sandbox
Usage
See the various tests
Known issues
Does not work on Windows, most likely due to this bug
统计信息
- 总下载量: 2.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-12-19