Search by

Background job processing for the Waffle framework: a Redis Streams driver with bounded retries and a dead-letter store.

Package info

github.com/waffle-commons/queue

pkg:composer/waffle-commons/queue

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 3

dev-main 2026-09-30 08:05 UTC

This package is auto-updated.

Last update: 2026-10-31 16:35:03 UTC


README

Discord PHP Version Require PHP CI codecov Latest Stable Version Latest Unstable Version Total Downloads Packagist License

Waffle Queue Component

Release: unreleased ย |ย  CHANGELOG.md Status: In development for 0.1.0-beta7 โ€” roadmap [QUEUE-02] (RFC-015 boundary). The queue contracts land in waffle-commons/contracts first ([QUEUE-01]), and the queue:work worker command lives in waffle-commons/console.

Background job processing for the Waffle framework: a Redis Streams driver with bounded retries and a dead-letter store.

๐Ÿ“ฆ Installation

composer require waffle-commons/queue

๐Ÿงญ Architectural boundary (mago guard)

Waffle\Commons\Queue depends only on waffle-commons/contracts (plus waffle-commons/utils for shared primitives) and the PSR interfaces โ€” never on a sibling component's concrete classes. Every interface it implements lands in waffle-commons/contracts first.

๐Ÿงต Worker safety

Services are resident in FrankenPHP worker mode: no mutable state may survive a request. Anything that holds per-request state implements ResettableInterface directly; composer igor must report 0 KO.

๐Ÿงช Testing

composer mago    # formatter, linter, analyzer, guard โ€” clean means zero output
composer tests   # PHPUnit 12.5, line coverage โ‰ฅ 95 %
composer igor    # worker-safety audit

๐Ÿ“š Documentation

Full documentation tree: waffle-commons/documentation

๐Ÿ“„ License

MIT โ€” see LICENSE.md.