awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
php-fig avatar

php-fig/event-dispatcher

0
View on GitHub↗

Event Dispatcher

This project provides a standardized set of interfaces for event-driven communication within PHP applications. It serves as an implementation of the PSR-14 specification, establishing a common contract that allows independent software components to interact without requiring direct knowledge of each other's internal implementations.

The framework facilitates the decoupling of core business logic from secondary tasks by enabling components to trigger and respond to events. It utilizes an observer pattern to notify registered listeners of state changes, routing these events to specific callbacks based on their type. The system ensures predictable execution through synchronous propagation, where listeners are processed sequentially in the main execution thread.

Beyond basic dispatching, the framework supports granular control over the event lifecycle. It allows for application lifecycle hooking and provides mechanisms for listeners to halt event propagation, preventing subsequent handlers from processing an event once a specific condition is met. These features enable the construction of modular systems where components communicate through standardized signals rather than direct method calls.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • PHP Event Dispatchers - Provides a standardized set of interfaces for event-driven communication within PHP applications to decouple business logic from secondary tasks.
  • PSR-14 Implementations - Serves as an implementation of the PSR-14 specification, establishing a common contract for event dispatching in PHP.
  • Interface-Based Decoupling - Defines standardized contracts that allow independent software components to communicate without requiring direct knowledge of each other's internal implementation.
  • Event-Driven Architectures - Facilitates the construction of modular systems where components communicate through standardized signals rather than direct method calls.
  • Interrupt Signal Binding - Provides mechanisms for listeners to halt event propagation, preventing subsequent handlers from processing an event once a specific condition is met.
  • PHP Interoperability Libraries - Ensures different libraries and frameworks can exchange event data seamlessly by following a shared standard for dispatching and listening.
  • Type-Based Mappers - Routes events to specific callback collections by matching the event object class to the registered listener requirements at runtime.
  • Propagation Halting - Supports halting event propagation, allowing listeners to prevent subsequent handlers from receiving an event once a specific condition is met.
  • Execution Lifecycle Hooks - Allows for application lifecycle hooking to modify behavior or perform tasks without changing core files.
  • Observer Patterns - Utilizes an observer pattern to notify registered listeners of state changes, routing these events to specific callbacks based on their type.
  • Synchronous Dispatchers - Ensures predictable execution through synchronous propagation, where listeners are processed sequentially in the main execution thread.
  • Event Listener Managers - Allows developers to register callback functions for specific event types, ensuring automatic execution of associated logic during the application lifecycle.
2,290 stars·23 forks·PHP·MIT·26 views

Star history

Star history chart for php-fig/event-dispatcherStar history chart for php-fig/event-dispatcher

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Event Dispatcher

These projects share indexed features with Event Dispatcher. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • doctrine/event-managerdoctrine avatar

    doctrine/event-manager

    6,047View on GitHub↗

    Doctrine Event Manager is a PHP library that implements a publish-subscribe pattern for decoupled application communication. It provides a simple event bus that dispatches named events to registered listeners, enabling components to communicate without direct method calls and promoting loose coupling and extensibility in PHP projects. The library manages listener callbacks in a central registry keyed by exact event name strings for fast lookup, and invokes listeners in priority sequence for controlled reaction order during event dispatch. It maintains no internal state between dispatches, rel

    PHPeventeventmanager
    View on GitHub↗6,047
  • symfony/event-dispatchersymfony avatar

    symfony/event-dispatcher

    8,541View on GitHub↗

    Symfony Event Dispatcher is a library that implements the observer pattern, enabling event-driven communication between application components. It provides a central dispatch mechanism where components can broadcast named events and register listeners to react to them, decoupling event producers from consumers. The library supports any PHP callable as an event listener and organizes listeners in a priority-ordered queue for controlled execution. Listeners can stop event propagation to prevent subsequent handlers from running, and the subscriber-based registration system allows grouping multip

    PHPcomponentphpsymfony
    View on GitHub↗8,541
  • symfony/framework-bundlesymfony avatar

    symfony/framework-bundle

    3,568View on GitHub↗

    This project serves as the core integration layer for building full-stack web applications in PHP. It provides a unified foundation by connecting essential infrastructure components, including a dependency injection container, an event dispatcher, and a request routing engine. The framework operates through a kernel-based request lifecycle that transforms incoming HTTP requests into responses via prioritized middleware stages. The system distinguishes itself through a highly modular architecture that relies on configuration-driven service wiring and metadata-driven attribute mapping. During t

    PHPcomponentphpsymfony
    View on GitHub↗3,568
  • dbacinski/design-patterns-in-kotlindbacinski avatar

    dbacinski/Design-Patterns-In-Kotlin

    5,998View on GitHub↗

    This project is a reference collection of practical examples demonstrating the implementation of common software design patterns in Kotlin. It serves as a guide to architectural best practices and object-oriented principles through the application of behavioral, creational, and structural patterns. The collection provides concrete implementations to demonstrate how to decouple object instantiation, manage communication and responsibility between objects, and organize complex class and object relationships. The reference covers creational patterns such as factories and builders, structural pa

    Kotlin
    View on GitHub↗5,998
Compare all 30 related projects→

Frequently asked questions

What does php-fig/event-dispatcher do?

This project provides a standardized set of interfaces for event-driven communication within PHP applications. It serves as an implementation of the PSR-14 specification, establishing a common contract that allows independent software components to interact without requiring direct knowledge of each other's internal implementations.

What are the main features of php-fig/event-dispatcher?

The main features of php-fig/event-dispatcher are: PHP Event Dispatchers, PSR-14 Implementations, Interface-Based Decoupling, Event-Driven Architectures, Interrupt Signal Binding, PHP Interoperability Libraries, Type-Based Mappers, Propagation Halting.

Which projects share features with php-fig/event-dispatcher?

Projects with overlapping indexed features include: doctrine/event-manager — Doctrine Event Manager is a PHP library that implements a publish-subscribe pattern for decoupled application… symfony/event-dispatcher — Symfony Event Dispatcher is a library that implements the observer pattern, enabling event-driven communication… symfony/framework-bundle — This project serves as the core integration layer for building full-stack web applications in PHP. It provides a… qianmo/unity-design-pattern — This project is a library of C# software architecture examples and a reference for game programming patterns… dotnet/reactive — The .NET Reactive Extensions Library is a framework for composing, querying, and transforming asynchronous data… dbacinski/design-patterns-in-kotlin — This project is a reference collection of practical examples demonstrating the implementation of common software…

Curated searches featuring Event Dispatcher

Hand-picked collections where Event Dispatcher appears.
  • Webhooks management system