PHPackages                             sabre/event - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. sabre/event

ActiveLibrary[Queues &amp; Workers](/categories/queues)

sabre/event
===========

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

6.0.1(1y ago)35227.4M—3.5%24[4 issues](https://github.com/sabre-io/event/issues)[1 PRs](https://github.com/sabre-io/event/pulls)20BSD-3-ClausePHPPHP ^7.4 || ^8.0CI passing

Since Jun 29Pushed 3w ago21 watchersCompare

[ Source](https://github.com/sabre-io/event)[ Packagist](https://packagist.org/packages/sabre/event)[ Docs](http://sabre.io/event/)[ RSS](/packages/sabre-event/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (31)Used By (20)

sabre/event
===========

[](#sabreevent)

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](https://sabre.io/event/).

Installation
------------

[](#installation)

Make sure you have [composer](https://getcomposer.org/) installed, and then run:

```
composer require sabre/event "^6.1"

```

This package requires PHP 8.2.

Build status
------------

[](#build-status)

[![Build Status](https://github.com/sabre-io/event/actions/workflows/ci.yml/badge.svg)](https://github.com/sabre-io/event/actions/workflows/ci.yml/badge.svg)

releaseminimum PHP versionmasterPHP 8.26.0PHP 7.45.1PHP 7.1Questions?
----------

[](#questions)

Open a ticket on [GitHub](https://github.com/sabre-io/event/issues/).

Made at fruux
-------------

[](#made-at-fruux)

This library is being developed by [fruux](https://fruux.com/). Drop us a line for commercial services or enterprise support.

###  Health Score

67

—

FairBetter than 100% of packages

Maintenance68

Regular maintenance activity

Popularity67

Solid adoption and visibility

Community39

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 52.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~176 days

Recently: every ~134 days

Total

27

Last Release

125d ago

Major Versions

2.0.x-dev → 3.0.0-alpha12015-10-24

3.0.0 → 4.0.02016-09-20

3.0.x-dev → 5.0.02016-10-23

5.1.4 → 6.0.02022-08-29

5.1.7 → 6.0.12024-09-06

PHP version history (7 changes)0.0.1PHP &gt;=5.4.1

3.0.0-alpha1PHP &gt;=5.5

4.0.0PHP &gt;=7.0

5.1.0PHP ^7.1

5.1.1PHP ^7.1|^8.0

5.1.2PHP ^7.1 || ^8.0

6.0.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ec28c32d012f276f61b0b58cabe3c8f674166732d9b20eeddc3f9807857ba10?d=identicon)[evert](/maintainers/evert)

![](https://www.gravatar.com/avatar/d916220fea2bfe2d822214b0f188d1087035c66245431ae0dc2df4fbfbf81f6c?d=identicon)[dominik](/maintainers/dominik)

---

Top Contributors

[![evert](https://avatars.githubusercontent.com/u/178960?v=4)](https://github.com/evert "evert (207 commits)")[![phil-davis](https://avatars.githubusercontent.com/u/1535615?v=4)](https://github.com/phil-davis "phil-davis (126 commits)")[![staabm](https://avatars.githubusercontent.com/u/120441?v=4)](https://github.com/staabm "staabm (20 commits)")[![DeepDiver1975](https://avatars.githubusercontent.com/u/1005065?v=4)](https://github.com/DeepDiver1975 "DeepDiver1975 (10 commits)")[![TysonAndre](https://avatars.githubusercontent.com/u/1904430?v=4)](https://github.com/TysonAndre "TysonAndre (5 commits)")[![Hywan](https://avatars.githubusercontent.com/u/946104?v=4)](https://github.com/Hywan "Hywan (5 commits)")[![sunverwerth](https://avatars.githubusercontent.com/u/2094371?v=4)](https://github.com/sunverwerth "sunverwerth (4 commits)")[![DominikTo](https://avatars.githubusercontent.com/u/1384635?v=4)](https://github.com/DominikTo "DominikTo (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![felixfbecker](https://avatars.githubusercontent.com/u/10532611?v=4)](https://github.com/felixfbecker "felixfbecker (2 commits)")[![DavidPrevot](https://avatars.githubusercontent.com/u/3936728?v=4)](https://github.com/DavidPrevot "DavidPrevot (2 commits)")[![cedric-anne](https://avatars.githubusercontent.com/u/33253653?v=4)](https://github.com/cedric-anne "cedric-anne (2 commits)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (1 commits)")[![SamMousa](https://avatars.githubusercontent.com/u/547021?v=4)](https://github.com/SamMousa "SamMousa (1 commits)")[![ahackschmitz](https://avatars.githubusercontent.com/u/118912?v=4)](https://github.com/ahackschmitz "ahackschmitz (1 commits)")

---

Tags

asyncpluginpromiseeventssignalreactorhookscoroutineEventEmittereventloop

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sabre-event/health.svg)

```
[![Health](https://phpackages.com/badges/sabre-event/health.svg)](https://phpackages.com/packages/sabre-event)
```

###  Alternatives

[amphp/amp

A non-blocking concurrency framework for PHP applications.

4.4k123.4M323](/packages/amphp-amp)[icicleio/icicle

Icicle is a PHP library for writing asynchronous code using synchronous coding techniques.

1.1k150.9k14](/packages/icicleio-icicle)[react/promise-timer

A trivial implementation of timeouts for Promises, built on top of ReactPHP.

34141.9M96](/packages/react-promise-timer)[react/promise-stream

The missing link between Promise-land and Stream-land for ReactPHP

11512.9M45](/packages/react-promise-stream)[recoil/recoil

Asynchronous coroutines for PHP 7.

78961.5k7](/packages/recoil-recoil)[recoil/react

Integrate Recoil with ReactPHP.

32274.4k12](/packages/recoil-react)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
