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

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetServeur MCPÀ proposNotre méthodologiePresse
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
symfony avatar

symfony/event-dispatcher

0
View on GitHub↗
8,541 stars·66 forks·PHP·MIT·2 vuessymfony.com/event-dispatcher↗

Event Dispatcher

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 multiple event-to-listener mappings into reusable classes that self-register with the dispatcher.

Custom events can be dispatched with data payloads, and listeners can be attached to specific events with configurable priority. The system supports the event subscriber pattern for organizing multiple event handlers into single classes.

Features

  • Event Dispatchers - Provides an event-driven communication library that lets components broadcast named events and register listeners.
  • Event Payload Dispatchers - Fires named events with data payloads from any part of an application to trigger registered listeners.
  • Event-Driven Architectures - Implements event-driven architecture by decoupling components through a central dispatch mechanism.
  • Propagation Halting - Implements stoppable event propagation where listeners can halt further handler execution.
  • Event Subscribers - Provides an event subscriber pattern that groups multiple listeners into self-registering classes.
  • Listener Queues - Organizes event listeners in a priority-ordered queue for controlled execution order.
  • Event Propagation Halting - Halts further listener execution for a dispatched event from within a listener.
  • Callable Listeners - Provides a flexible listener interface that accepts any PHP callable as an event handler.
  • Application Event Listeners - Broadcasts named events from application components and reacts to them via registered listeners.
  • Event Listener Managers - Attaches callback functions to specific events with configurable execution priority for ordered responses.
  • Priority Listeners - Attaches callable listeners to named events with configurable priority and propagation control.
  • Event Listeners - Attaches callable listeners to named events with optional priority ordering for execution.

Historique des stars

Graphique de l'historique des stars pour symfony/event-dispatcherGraphique de l'historique des stars pour symfony/event-dispatcher

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Event Dispatcher

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Event Dispatcher.
  • doctrine/event-managerAvatar de doctrine

    doctrine/event-manager

    6,047Voir sur 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
    Voir sur GitHub↗6,047
  • php-fig/event-dispatcherAvatar de php-fig

    php-fig/event-dispatcher

    2,290Voir sur GitHub↗

    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 callback

    PHP
    Voir sur GitHub↗2,290
  • developit/mittAvatar de developit

    developit/mitt

    11,872Voir sur GitHub↗

    Mitt is a lightweight event emitter and publish-subscribe messaging library designed for managing communication between decoupled components. It provides a minimal utility for registering, dispatching, and removing event listeners within browser and Node.js environments. The library distinguishes itself through a functional interface that maintains a small memory footprint by using function references for listener management. It supports wildcard pattern matching, allowing a single handler to respond to all emitted events, and executes callbacks synchronously to ensure predictable state updat

    TypeScripteventevent-busevent-handlers
    Voir sur GitHub↗11,872
  • tokio-rs/mioAvatar de tokio-rs

    tokio-rs/mio

    7,024Voir sur GitHub↗

    Mio is a low-level I/O library for Rust that provides an event-driven framework for monitoring multiple network sockets and file descriptors. It acts as a portable wrapper for operating system native polling systems, including epoll, kqueue, and IOCP, allowing applications to trigger events when resources are ready for reading or writing without blocking the execution thread. The library provides a non-blocking socket interface for managing TCP, UDP, and Unix sockets. It distinguishes itself through a vectored I/O implementation, enabling scatter-gather reads and writes across multiple buffer

    Rustasynchronousnetworkingnon-blocking
    Voir sur GitHub↗7,024
Voir les 30 alternatives à Event Dispatcher→

Questions fréquentes

Que fait symfony/event-dispatcher ?

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.

Quelles sont les fonctionnalités principales de symfony/event-dispatcher ?

Les fonctionnalités principales de symfony/event-dispatcher sont : Event Dispatchers, Event Payload Dispatchers, Event-Driven Architectures, Propagation Halting, Event Subscribers, Listener Queues, Event Propagation Halting, Callable Listeners.

Quelles sont les alternatives open-source à symfony/event-dispatcher ?

Les alternatives open-source à symfony/event-dispatcher incluent : doctrine/event-manager — Doctrine Event Manager is a PHP library that implements a publish-subscribe pattern for decoupled application… php-fig/event-dispatcher — This project provides a standardized set of interfaces for event-driven communication within PHP applications. It… developit/mitt — Mitt is a lightweight event emitter and publish-subscribe messaging library designed for managing communication… tokio-rs/mio — Mio is a low-level I/O library for Rust that provides an event-driven framework for monitoring multiple network… symfony/symfony — Symfony is a full-stack web framework designed for building scalable and maintainable server-side applications. It… greenrobot/eventbus — EventBus is a publish-subscribe messaging library designed to facilitate decoupled communication between components in…