PHP CQRS Command Generator
Generates production-ready CQRS commands, handlers, and unit tests for PHP 8.4 applications following Domain-Driven Design principles.
This skill streamlines the development of PHP applications by automating the creation of immutable Command DTOs and their corresponding Handlers. It enforces architectural best practices such as self-validation, intent-revealing naming, and domain event dispatching, ensuring your backend remains consistent with CQRS and Clean Architecture patterns. By generating both the logic and the unit tests simultaneously, it reduces boilerplate overhead while maintaining high code quality and test coverage in complex domain models.
주요 기능
0145 GitHub stars
02Generates immutable PHP 8.4 final readonly command classes
03Produces standardized unit tests for every command and handler pair
04Enforces DDD naming conventions and strict directory structures
05Prevents architectural anti-patterns like returning data from commands
06Automates command handler creation with built-in event dispatching logic
사용 사례
01Automating boilerplate code for state-changing operations in PHP 8.4
02Ensuring architectural consistency across large engineering teams
03Rapidly scaffolding new business actions in a Clean Architecture project