sabre/event is a library for lightweight event-based programming

6.0.0 2022-08-29 13:26 UTC


A lightweight library for event-based development in PHP.

This library provides the following event-based concepts:

  1. EventEmitter.
  2. Promises.
  3. An event loop.
  4. Co-routines.

Full documentation can be found on the website.


Make sure you have composer installed, and then run:

composer require sabre/event "^5.0"

This package requires PHP 7.1.

Build status

branch status
master Build Status
3.0 Build Status
2.0 Build Status
1.0 Build Status
php53 Build Status


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.