archipro / revolt-event-dispatcher
PSR-14 Event Dispatcher implementation using Revolt and AMPHP
0.0.0
2024-11-17 20:42 UTC
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-11-17 20:43:27 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