PHPackages                             razshare/react-php-yielder - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. razshare/react-php-yielder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

razshare/react-php-yielder
==========================

A simple library that converts Generators into PromiseInterfaces for ReactPhp.

1.0.0(4y ago)05MITPHPPHP &gt;=8.0

Since Oct 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/tncrazvan/react-php-yielder)[ Packagist](https://packagist.org/packages/razshare/react-php-yielder)[ RSS](/packages/razshare-react-php-yielder/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

This library provides a fluent api to work with promisses and generators inside the [ReactPhp](https://reactphp.org/) event loop.

```
\Razshare\ReactPhp\Yielder\Yielder::run(function(){
    $result = yield new \React\Promise\Promise(function($r){
        $r("hello world");
    });

    echo $result.PHP_EOL;
});
```

This is just a piece of code that simply prints "hello world" from a promise.

It might not seem like much of a difference, but when you take into consideration the number of async operations you're required to run in order to keep your application running smoothly, this simple syntax improvement can become a refreshing and more convenient way to handle promises.

Getting Started
---------------

[](#getting-started)

```
composer require razshare/react-php-yielder
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1723d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a17d8165898575f819668fa41fdb760fc139591b0f9161cf322c86a72409a8b?d=identicon)[loopcake](/maintainers/loopcake)

---

Top Contributors

[![razshare](https://avatars.githubusercontent.com/u/6891346?v=4)](https://github.com/razshare "razshare (7 commits)")

### Embed Badge

![Health badge](/badges/razshare-react-php-yielder/health.svg)

```
[![Health](https://phpackages.com/badges/razshare-react-php-yielder/health.svg)](https://phpackages.com/packages/razshare-react-php-yielder)
```

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.1k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.2k](/packages/friendsofphp-php-cs-fixer)[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

43.2k341.0k1](/packages/ccxt-ccxt)[react/react

ReactPHP: Event-driven, non-blocking I/O with PHP.

9.1k3.7M65](/packages/react-react)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k420.9k26](/packages/team-reflex-discord-php)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)

PHPackages © 2026

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