PHP Read Model & Projection Generator
Generates optimized CQRS read models and event projections for high-performance PHP 8.4 applications.
This skill streamlines the implementation of the CQRS (Command Query Responsibility Segregation) pattern by automating the creation of read models and projections. It generates immutable PHP 8.4 read models, query-focused repository interfaces, and event-driven projections to build denormalized data views. Designed for high-performance query sides, it ensures eventual consistency through idempotent event processing and includes comprehensive unit tests for serialization and synchronization logic, making it ideal for complex domain-driven design (DDD) architectures.
Características Principales
01Generates immutable PHP 8.4 Read Models with fromArray/toArray methods
02Produces query-focused Repository interfaces and Doctrine implementations
03Creates event-driven Projections for building denormalized data views
04Automates the creation of unit tests for read models and projections
0545 GitHub stars
06Supports idempotent event processing and projection reset mechanisms
Casos de Uso
01Implementing the read side of a CQRS architecture in PHP projects
02Creating denormalized dashboard aggregates for complex data views
03Synchronizing read models with domain events in event-sourced systems