indigophp / fuel-queue
此包已被废弃,不再维护。未建议替代包。
Indigo Queue 包的 Fuel 封装
v1.0.0
2014-07-23 21:21 UTC
Requires
- composer/installers: ~1.0
- indigophp/fuel-core: ~1.0
- indigophp/queue: *
Requires (Dev)
- codeception/codeception: ~2.0.0
- codeception/mockery-module: dev-master
- indigophp/queue: dev-develop
This package is not auto-updated.
Last update: 2022-02-01 12:28:24 UTC
README
此包是indigophp/queue 包的封装。
安装
通过 Composer
{ "require": { "indigophp/fuel-queue": "@stable" } }
使用
// Simple way \Queue::forge('process');
运行你的工作进程
oil r worker process
oil r worker *queue* [connector] [--quiet]
配置
'process' => function () { $pheanstalk = new Pheanstalk_Pheanstalk('localhost', 11300); return new Indigo\Queue\Connector\BeanstalkdConnector($pheanstalk); }
鸣谢
许可证
MIT 许可证 (MIT)。请参阅许可证文件获取更多信息。