sabre/event

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

Maintainers

Package info

github.com/sabre-io/event

Homepage

Forum

pkg:composer/sabre/event

Statistics

Installs: 28 079 420

Dependents: 29

Suggesters: 1

Stars: 352

Open Issues: 5

6.1.0 2026-04-27 12:18 UTC

README

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.

Installation

Make sure you have composer installed, and then run:

composer require sabre/event "^6.1"

This package requires PHP 8.2.

Build status

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.