Ecotone Message Handlers
Streamlines the creation of command, event, and query handlers for PHP applications using the Ecotone Framework.
This skill empowers developers to efficiently implement message-driven architectures in PHP by generating and managing Ecotone handlers. It automates the boilerplate for command, event, and query processing, ensuring correct routing, unique endpoint identification, and metadata handling via PHP 8.1+ attributes. Whether building complex domain aggregates or simple service activators, this skill provides the implementation patterns and best practices needed to maintain a clean, decoupled, and scalable backend codebase.
主な機能
01Provides guidance for enterprise-level deduplication and error handling.
02Manages unique endpointId naming for asynchronous and polled processing.
0352 GitHub stars
04Generates Command, Event, and Query handler attributes for PHP classes.
05Facilitates access to message metadata using the #[Header] attribute.
06Configures message routing using class-based or string-based patterns.
ユースケース
01Integrating legacy services into message-driven systems via service activators.
02Building read-side models using query handlers in a CQRS architecture.
03Implementing domain-driven design (DDD) patterns like command and event handling.