symfony/event-dispatcher-contracts

Generic abstractions related to dispatching event

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 46 minutes ago
Added to GitGenius on September 20th, 2026
Created on May 27th, 2019
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Disabled - open counts may still include pull requests.
Number of forks: 3
Total Stargazers: 3,414 (+0)
Total Subscribers: 5 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

GitHub issues are disabled for this repository, so issue analytics and the issue explorer are not available.

Detailed Description

Symfony EventDispatcher Contracts is a set of PHP interfaces and abstractions for event dispatching that enables decoupling between components.

The project extracts generic event-dispatching abstractions from the Symfony framework to provide a shared contract that multiple implementations can follow. Rather than requiring direct dependencies on full Symfony components, developers can depend on these lightweight interfaces to define how their code interacts with event systems. This approach allows libraries and applications to remain agnostic about which concrete event dispatcher they use, as long as it implements the contract.

The tool suits projects that need to decouple from specific event-dispatcher implementations or that want to provide event-dispatching capabilities without forcing consumers to adopt a particular framework. It is particularly valuable for library authors who want their code to work with any event dispatcher that honors the contract, and for applications built with Symfony or other frameworks that respect these standardized interfaces. The abstractions are battle-tested, having been proven useful within Symfony's own components.

Development activity shows consistent engagement with the codebase through regular commits addressing maintenance and updates. The project receives pull requests that are reviewed and merged, indicating active stewardship. Issues are tracked and addressed, demonstrating responsiveness to problems raised by users. The repository is part of a larger contracts initiative within Symfony, which provides context and shared governance for these abstraction layers.