PHP DDD Aggregate Generator
Generates domain-driven design (DDD) aggregates for PHP 8.4 with root entities, domain events, and automated unit tests.
This skill automates the creation of complex domain models following strict DDD principles in PHP 8.4 environments. It enforces architectural patterns such as consistency boundaries, transactional integrity, and encapsulation by generating the Aggregate Root, child entities, and necessary domain events while providing a standardized directory structure. It is ideal for developers building enterprise-grade applications with Hexagonal or Clean Architecture who need to ensure high-quality code standards and maintainable domain logic.
Características Principales
0145 GitHub stars
02Enforces strict DDD consistency boundaries and transactional integrity
03Ensures proper encapsulation by preventing public setters and using behavioral methods
04Automatically scaffolds Domain Events for state changes and behavioral actions
05Includes automated unit test generation to verify domain invariants and logic
06Generates PHP 8.4 compliant Aggregate Roots with built-in event recording
Casos de Uso
01Scaffolding complex domain entities in enterprise PHP applications
02Implementing Event Sourcing or CQRS patterns with consistent domain events
03Refactoring anemic domain models into rich, behavior-driven DDD aggregates