symfony:event
CommunityGenerate Symfony Events and Handlers
Authoratournayre
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of custom Symfony Events and their corresponding EventSubscribers or EventListeners, adhering to best practices and streamlining event-driven architecture in Symfony applications.
Core Features & Use Cases
- Event Generation: Creates immutable Event classes with promoted properties and getters.
- Handler Creation: Generates either an
EventSubscriber(recommended for multiple events) or anEventListener(using#[AsEventListener]attribute). - Namespace Detection: Automatically detects the project's namespace from
composer.jsonor defaults toApp. - Stoppable Events: Supports the creation of stoppable events for conditional propagation.
- Use Case: Quickly scaffold the necessary classes when a new business event occurs, such as
OrderPlacedorUserRegistered, ensuring consistent implementation.
Quick Start
Use the symfony:event skill to generate a new event named OrderPlaced with associated data and a recommended EventSubscriber.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: symfony:event Download link: https://github.com/atournayre/claude-personas/archive/main.zip#symfony-event Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.