PHP Domain Service Generator
Generates DDD-compliant, stateless Domain Services for PHP 8.4 to handle complex business logic across multiple aggregates.
The Domain Service Generator is a specialized tool for PHP developers practicing Domain-Driven Design (DDD). It automates the creation of stateless, readonly services intended for business operations that span multiple aggregates or require coordination without belonging to a specific entity. By adhering to PHP 8.4 standards, this skill ensures architectural purity by enforcing the separation of domain logic from infrastructure concerns. It generates not only the service class but also comprehensive PHPUnit test templates, helping developers maintain high code quality and test coverage while implementing complex domain policies, calculations, and transformations.