archipro / revolt-event-dispatcher
PSR-14 Event Dispatcher implementation using Revolt and AMPHP
Installs: 1 243
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 2
Requires
- php: ^8.1
- amphp/amp: ^3.0
- psr/event-dispatcher: ^1.0
- revolt/event-loop: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.14
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.0
Provides
This package is auto-updated.
Last update: 2024-12-13 01:18:29 UTC
README
A PSR-14 compatible event dispatcher implementation using Revolt and AMPHP for asynchronous event handling.
Features
- Full PSR-14 compatibility
- Asynchronous event dispatching using Revolt's event loop
- Support for stoppable and non-stoppable events
- Fire-and-forget event dispatching
- Type-safe event handling
Installation
composer require archipro/revolt-event-dispatcher