marko/queue-database

Database queue driver for Marko Framework

Maintainers

Package info

github.com/marko-php/marko-queue-database

pkg:composer/marko/queue-database

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

0.0.1 2026-03-25 17:53 UTC

This package is auto-updated.

Last update: 2026-03-25 21:07:26 UTC


README

Database queue driver — stores and processes jobs in SQL tables with transaction-safe polling and failed job persistence.

Installation

composer require marko/queue-database

Quick Example

use Marko\Queue\QueueInterface;

public function __construct(
    private readonly QueueInterface $queue,
) {}

public function enqueue(): void
{
    $this->queue->push(new ProcessOrder($orderId));

    // Delay by 5 minutes
    $this->queue->later(300, new SendFollowUp($orderId));
}

Documentation

Full usage, API reference, and examples: marko/queue-database