Skip to content

About

[READ-ONLY] Redis queue driver for Marko Framework. Issues and PRs at https://github.com/marko-php/marko

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

marko/queue-redis

Redis queue driver --- reliable Lua-based pops, delayed jobs, crash recovery and a Redis failed-job store on the Redis you already run.

Installation

composer require marko/queue-redis

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-redis

About

[READ-ONLY] Redis queue driver for Marko Framework. Issues and PRs at https://github.com/marko-php/marko

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages