Transactional Outbox Pattern Generator

•
45
•

Implements a robust Transactional Outbox infrastructure for PHP 8.4 to ensure reliable event publishing and data consistency.

This skill automates the creation of a comprehensive Transactional Outbox pattern, a critical requirement for maintaining consistency in distributed systems and microservices. It generates all necessary components—including immutable domain entities, repository interfaces, processing logic, and CLI commands—to ensure that messages are only dispatched to a broker after a successful database transaction. By providing built-in retry mechanisms, exponential backoff, and dead-letter queue support, it eliminates the risk of message loss during broker outages and simplifies the implementation of reliable event-driven architectures.

Características Principales

01Produces Infrastructure implementations for Doctrine ORM and Symfony Console commands.
02Includes automated database migrations for structured message storage.
03Creates Application layer processors with configurable retry and dead-letter logic.
04Generates ready-to-use unit tests for both Domain and Application layers.
05Generates PHP 8.4 immutable OutboxMessage entities and Domain layer interfaces.
0645 GitHub stars

Casos de Uso

01Implementing reliable event-driven communication in Domain-Driven Design (DDD) projects.
02Ensuring atomic consistency between database updates and external message publishing.
03Managing high-reliability message delivery with built-in retries and failure handling.