sabre / event
sabre/event is a library for lightweight event-based programming
6.1.0
2026-04-27 12:18 UTC
Requires
- php: ^8.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.95
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^10.5
- rector/rector: ^2.4
README
A lightweight library for event-based development in PHP.
This library provides the following event-based concepts:
- EventEmitter.
- Promises.
- An event loop.
- Co-routines.
Full documentation can be found on the website.
Installation
Make sure you have composer installed, and then run:
composer require sabre/event "^6.1"
This package requires PHP 8.2.
Build status
| release | minimum PHP version |
|---|---|
| master | PHP 8.2 |
| 6.0 | PHP 7.4 |
| 5.1 | PHP 7.1 |
Questions?
Open a ticket on GitHub.
Made at fruux
This library is being developed by fruux. Drop us a line for commercial services or enterprise support.