PHP Dead Letter Queue Generator

•
45
•

Generates robust Dead Letter Queue infrastructure for PHP 8.4 applications, including failure classification and exponential backoff retry logic.

This skill automates the implementation of the Dead Letter Queue (DLQ) pattern, a critical component for building resilient, event-driven PHP 8.4 applications. It generates a complete suite of components including failure classifiers that distinguish between transient and permanent errors, retry strategies with exponential backoff and jitter, and Clean Architecture-compliant layers (Domain, Application, Infrastructure). By standardizing how failed messages are captured, stored, and reprocessed, this skill helps developers prevent data loss and manage poison messages effectively in complex distributed systems.

主な機能

01Full unit test suite for all generated DLQ components
02Clean Architecture file structure across Domain, Application, and Infrastructure
03Configurable exponential backoff with jitter for intelligent retries
04Automatic failure classification (Transient, Permanent, Unknown)
05Ready-to-use Database storage implementation with SQL migration scripts
0645 GitHub stars

ユースケース

01Maintaining an audit trail of all failed message processing attempts
02Handling poison messages that cause recurring handler failures
03Implementing resilient retries for temporary infrastructure outages