marko/queue
最新稳定版本:0.6.0
Composer 安装命令:
composer require marko/queue
包简介
Queue interfaces and infrastructure for Marko Framework
README 文档
README
Queue interfaces and worker infrastructure -- defines how jobs are dispatched and processed, not which backend stores them.
Installation
composer require marko/queue
Note: You also need a driver package. See marko/queue-sync, marko/queue-database, or marko/queue-rabbitmq.
Quick Example
use Marko\Queue\Job; use Marko\Queue\QueueInterface; class SendWelcomeEmail extends Job { public function __construct( private readonly string $email, ) {} public function handle(): void { // Send the email... } } // Dispatch via QueueInterface $queue->push(new SendWelcomeEmail('user@example.com'));
Documentation
Full usage, API reference, and examples: marko/queue
统计信息
- 总下载量: 95
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 5
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-24