princeh / judger_php
Judger Binder for PHP
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/princeh/judger_php
Requires
- php: >=7.3
- ext-json: *
- ext-swoole: >=4.4
Requires (Dev)
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2025-10-24 17:11:18 UTC
README
Judger Binder for PHP.
Installing
$ composer require princeh/judger_php -vvv
Usage
此拓展基于青岛开源的沙盒 必须要装swoole 且运行在协程环境下 最好hook shell_exec在底层会自动进行协程的调度
\Swoole\Coroutine\Co::set(['hook_flags' => SWOOLE_HOOK_BLOCKING_FUNCTION]);
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
License
MIT