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

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectServer MCPDespreCum realizăm clasamentulPresă
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
symfony avatar

symfony/event-dispatcher

0
View on GitHub↗
8,541 stele·66 fork-uri·PHP·MIT·2 vizualizărisymfony.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.

Istoric stele

Graficul istoricului de stele pentru symfony/event-dispatcherGraficul istoricului de stele pentru symfony/event-dispatcher

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Event Dispatcher

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Event Dispatcher.
  • doctrine/event-managerAvatar doctrine

    doctrine/event-manager

    6,047Vezi pe 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
    Vezi pe GitHub↗6,047
  • php-fig/event-dispatcherAvatar php-fig

    php-fig/event-dispatcher

    2,290Vezi pe 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
    Vezi pe GitHub↗2,290
  • developit/mittAvatar developit

    developit/mitt

    11,872Vezi pe 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
    Vezi pe GitHub↗11,872
  • tokio-rs/mioAvatar tokio-rs

    tokio-rs/mio

    7,024Vezi pe 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
    Vezi pe GitHub↗7,024
Vezi toate cele 30 alternative pentru Event Dispatcher→

Întrebări frecvente

Ce face 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.

Care sunt principalele funcționalități ale symfony/event-dispatcher?

Principalele funcționalități ale symfony/event-dispatcher sunt: Event Dispatchers, Event Payload Dispatchers, Event-Driven Architectures, Propagation Halting, Event Subscribers, Listener Queues, Event Propagation Halting, Callable Listeners.

Care sunt câteva alternative open-source pentru symfony/event-dispatcher?

Alternativele open-source pentru symfony/event-dispatcher includ: 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…