消息队列的Worker守护进程,目前支持beanstalkd。
- PHP >= 5.4.1
- Swoole >= 1.7.18
- Linux / Mac OSX
composer require footstones/plumber
vendor/bin/plumber start /config-path # config-path为配置文件的路径
vendor/bin/plumber restart /config-path
vendor/bin/plumber stop /config-path
请参考example/config.php文件。
请参考example/Example1Worker.php。
请参考src/IWorker.php。
MIT.