g41797 / queue-beanstalkd
Yii3 Beanstalkd 队列适配器 - 简单、快速的工作队列
v0.0.3
2024-07-14 10:29 UTC
Requires
- php: >=8.2
- enqueue/pheanstalk: ^0.10.19
- ramsey/uuid: ^4.7
- yiisoft/factory: ^1.0
- yiisoft/friendly-exception: ^1.0
- yiisoft/queue: dev-master
Requires (Dev)
- maglnet/composer-require-checker: ^4.7
- phpunit/phpunit: ^10.5
- rector/rector: ^1.0.3
- roave/infection-static-analysis-plugin: ^1.34
- spatie/phpunit-watcher: ^1.23
- symfony/console: ^6.0
- symfony/process: ^6.0
- vimeo/psalm: ^5.16
- yiisoft/test-support: ^3.0
This package is auto-updated.
Last update: 2024-09-14 11:04:04 UTC
README
描述
Yii3 Beanstalkd 队列适配器是 Beanstalkd 的适配器,属于 Yii3 队列适配器家族。
适配器的实现基于 enqueue/pheanstalk 库。
要求
- PHP 8.2 或更高版本。
安装
可以使用 composer 安装此包。
composer require g41797/queue-beanstalkd
通用用法
- 作为 Yii3 队列框架 的一部分
- 独立使用
配置
默认配置
[ 'host' => '127.0.0.1', // IP or hostname of the target server 'port' => 11300, // TCP/IP port of the target server ]
限制
作业状态
// Push a job into the queue and get a message ID. $id = $queue->push(new SomeJob()); // Get job status. $status = $queue->status($id);
不支持。
许可证
Yii3 Beanstalkd 队列适配器是自由软件。它按照 BSD 许可证的条款发布。请参阅 LICENSE
获取更多信息。