PHPackages                             wyrihaximus/rx-recoil-looper - 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. wyrihaximus/rx-recoil-looper

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

wyrihaximus/rx-recoil-looper
============================

Looper functions for while and foreach around rxphp using recoil

1.1.0(6y ago)213.5k[3 PRs](https://github.com/WyriHaximus/php-rxphp-recoilphp-looper/pulls)1MITPHPPHP ^7.2

Since Jul 14Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/WyriHaximus/php-rxphp-recoilphp-looper)[ Packagist](https://packagist.org/packages/wyrihaximus/rx-recoil-looper)[ RSS](/packages/wyrihaximus-rx-recoil-looper/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (7)Versions (9)Used By (1)

Make observables iterable
=========================

[](#make-observables-iterable)

[![Build Status](https://camo.githubusercontent.com/7afc4336b81c7e170209c5e87ea61d0071ba39faf304abea8ee9f95979916afc/68747470733a2f2f7472617669732d63692e636f6d2f57797269486178696d75732f7068702d72787068702d7265636f696c7068702d6c6f6f7065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/WyriHaximus/php-rxphp-recoilphp-looper)[![Latest Stable Version](https://camo.githubusercontent.com/39279f105c5302be341435f6462943c786a54eb415a58ab03126a928f16f39cb/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f72782d7265636f696c2d6c6f6f7065722f762f737461626c652e706e67)](https://packagist.org/packages/WyriHaximus/rx-recoil-looper)[![Total Downloads](https://camo.githubusercontent.com/74e252d77b729b2ead5d3bc4daaa1c4e6ff408e95ce40a9ee6939a48db39d1f1/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f72782d7265636f696c2d6c6f6f7065722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/WyriHaximus/rx-recoil-looper)[![Code Coverage](https://camo.githubusercontent.com/93369a7f3fc1b1c21ecb2885e113ede06e57cd2a29dfe12fa115bfa52931830f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f57797269486178696d75732f7068702d72787068702d7265636f696c7068702d6c6f6f7065722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/WyriHaximus/php-rxphp-recoilphp-looper/?branch=master)[![License](https://camo.githubusercontent.com/7555779950aa30a53c0ad3b50414fc6ba61feda158ca0926dc930d70494157f7/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f72782d7265636f696c2d6c6f6f7065722f6c6963656e73652e706e67)](https://packagist.org/packages/WyriHaximus/rx-recoil-looper)[![PHP 7 ready](https://camo.githubusercontent.com/42718cddeb81248571079e9a79343ed0f98fbc659d6f1cf0bbf642e84f6d6cbf/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f57797269486178696d75732f72656163747068702d687474702d6d6964646c65776172652d636c6561722d626f64792f62616467652e737667)](https://travis-ci.org/WyriHaximus/reactphp-http-middleware-clear-body)

Install
=======

[](#install)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.

```
composer require wyrihaximus/rx-recoil-looper

```

Usage
=====

[](#usage)

Iterate over a RxPHP observable using while:

```
$recoil->execute(function () {
    $observable = observableFromArray(range(1, 1000));
    $observableWhile = observableWhile($observable);
    while ($i = (yield $observableWhile->get())) {
        echo $i, PHP_EOL;
    }
});
```

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2018 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance43

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 63.3% 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 ~103 days

Total

5

Last Release

2444d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (38 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")

---

Tags

hacktoberfestphpphp7php72recoilrecoilphprxrxphp

### Embed Badge

![Health badge](/badges/wyrihaximus-rx-recoil-looper/health.svg)

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

###  Alternatives

[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k234.7M20.6k](/packages/friendsofphp-php-cs-fixer)[react/react

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

9.1k3.6M63](/packages/react-react)[react/stream

Event-driven readable and writable streams for non-blocking I/O in ReactPHP

688126.8M194](/packages/react-stream)[react/child-process

Event-driven library for executing child processes with ReactPHP.

34076.1M136](/packages/react-child-process)[react/zmq

ZeroMQ bindings for React.

2471.7M31](/packages/react-zmq)[spatie/laravel-cronless-schedule

Run the Laravel scheduler without relying on cron

389307.2k1](/packages/spatie-laravel-cronless-schedule)

PHPackages © 2026

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