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
·
php-fig avatar

php-fig/event-dispatcher

0
View on GitHub↗
2,290 stele·23 fork-uri·PHP·MIT·4 vizualizări

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.

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.

Istoric stele

Graficul istoricului de stele pentru php-fig/event-dispatcherGraficul istoricului de stele pentru php-fig/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

Colecții curatoriate care includ Event Dispatcher

Colecții selectate manual în care apare Event Dispatcher.
  • Webhooks management system

Întrebări frecvente

Ce face php-fig/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.

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

Principalele funcționalități ale php-fig/event-dispatcher sunt: PHP Event Dispatchers, PSR-14 Implementations, Interface-Based Decoupling, Event-Driven Architectures, Interrupt Signal Binding, PHP Interoperability Libraries, Type-Based Mappers, Propagation Halting.

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

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

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
  • symfony/event-dispatcherAvatar symfony

    symfony/event-dispatcher

    8,541Vezi pe 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
    Vezi pe GitHub↗8,541
  • symfony/framework-bundleAvatar symfony

    symfony/framework-bundle

    3,568Vezi pe 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
    Vezi pe GitHub↗3,568
  • dbacinski/design-patterns-in-kotlinAvatar dbacinski

    dbacinski/Design-Patterns-In-Kotlin

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