PHPackages                             recoil/api - 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. recoil/api

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

recoil/api
==========

The public Recoil API, for library and application developers.

1.0.2(5y ago)13288.0k—9.4%2[1 PRs](https://github.com/recoilphp/api/pulls)6MITPHPPHP &gt;=7.3

Since Aug 22Pushed 1y ago2 watchersCompare

[ Source](https://github.com/recoilphp/api)[ Packagist](https://packagist.org/packages/recoil/api)[ Docs](https://github.com/recoilphp/api)[ RSS](/packages/recoil-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (10)Used By (6)

Recoil API
==========

[](#recoil-api)

[![Build Status](https://camo.githubusercontent.com/0cdef07a18b5ebca0a43792e24ae4cac8d85cf80ee653fce318c10a6c7146978/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f7265636f696c7068702f6170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/recoilphp/api)[![Code Coverage](https://camo.githubusercontent.com/9a7aac9866d37c21222411e1d82f510c59fddfa68696e0a998045478b69ed3d9/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f7265636f696c7068702f6170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/recoilphp/api)[![Code Quality](https://camo.githubusercontent.com/5b31bbd9c31abc2a2bc1190bc77e1e4b2d498a1c59aec941f6ba66fa7d2804dc/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7265636f696c7068702f6170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/recoilphp/api/)[![Latest Version](https://camo.githubusercontent.com/f775891f665eb4f236a04315d4a077532081f241c61374a9f7fabb77ad40f205/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7265636f696c2f6170692e7376673f7374796c653d666c61742d737175617265266c6162656c3d73656d766572)](https://semver.org)

The public [Recoil](https://github.com/recoilphp/recoil) API, for library and application developers.

```
composer require recoil/api

```

This package provides a set of interfaces used to develop asynchronous PHP software using coroutines in a manner that is portable across Recoil kernel implementations and versions.

For complete documentation of the standard API operations, please see the [Recoil class](src/Recoil.php).

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~263 days

Recently: every ~367 days

Total

7

Last Release

1974d ago

Major Versions

0.1.1 → 1.0.0-alpha.12016-12-13

PHP version history (2 changes)0.1.0PHP ^7

1.0.2PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/93a71bd75fcd51efee464532dbdd54927cd00e938805998c76e0a804d38fa3fb?d=identicon)[jmalloc](/maintainers/jmalloc)

---

Top Contributors

[![jmalloc](https://avatars.githubusercontent.com/u/761536?v=4)](https://github.com/jmalloc "jmalloc (87 commits)")

---

Tags

eventasyncasynchronousgeneratorcoroutinereactThreadgreenmultitaskingcontinuation

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/recoil-api/health.svg)

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

###  Alternatives

[recoil/recoil

Asynchronous coroutines for PHP 7.

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

Integrate Recoil with ReactPHP.

32274.4k12](/packages/recoil-react)[icicleio/icicle

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

1.1k150.9k14](/packages/icicleio-icicle)[amphp/amp

A non-blocking concurrency framework for PHP applications.

4.4k123.4M323](/packages/amphp-amp)[revolt/event-loop

Rock-solid event loop for concurrent PHP applications.

91943.6M138](/packages/revolt-event-loop)[amphp/parallel

Parallel processing component for Amp.

84746.2M74](/packages/amphp-parallel)

PHPackages © 2026

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