PHPackages                             api-clients/rx-operators - 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. api-clients/rx-operators

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

api-clients/rx-operators
========================

Additional RxPHP operators

2.0.0(9y ago)068.3k↓50%[3 PRs](https://github.com/php-api-clients/rx-operators/pulls)2MITPHPPHP ^7.0

Since Oct 12Pushed 2y ago3 watchersCompare

[ Source](https://github.com/php-api-clients/rx-operators)[ Packagist](https://packagist.org/packages/api-clients/rx-operators)[ RSS](/packages/api-clients-rx-operators/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (6)Used By (2)

RxPHP operators for PHP 7
=========================

[](#rxphp-operators-for-php-7)

[![Build Status](https://camo.githubusercontent.com/238a4e05ee1147c3c760d345a5accc3b82fb21bfea1373ca9497cfbdff4544b3/68747470733a2f2f7472617669732d63692e6f72672f7068702d6170692d636c69656e74732f72782d6f70657261746f72732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/php-api-clients/rx-operators)[![Latest Stable Version](https://camo.githubusercontent.com/8bed0fb628c2b8f8899f3fc936235791bd4bd77d83a601771baf62fb503e85a6/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f72782d6f70657261746f72732f762f737461626c652e706e67)](https://packagist.org/packages/api-clients/rx-operators)[![Total Downloads](https://camo.githubusercontent.com/d671737d2d47020197ba4d81188b1775aeb4f76e6aa3ba089047c0d53eb50bf2/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f72782d6f70657261746f72732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/api-clients/rx-operators)[![Code Coverage](https://camo.githubusercontent.com/9636fe2d2205166a089499a404125658b56b9f35b87ec6478da04cd85d8fe20e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068702d6170692d636c69656e74732f72782d6f70657261746f72732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/php-api-clients/rx-operators/?branch=master)[![License](https://camo.githubusercontent.com/0af8bcb9dc24b532a5206ebf67dc04fe8cbc76b8d082c7baff7fd31bb5a095fd/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f72782d6f70657261746f72732f6c6963656e73652e706e67)](https://packagist.org/packages/api-clients/rx-operators)[![PHP 7 ready](https://camo.githubusercontent.com/7d855bfe65f1f79dd67d1b3527e684c8fa24a64f8c75185f21298b52da10a6f3/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f7068702d6170692d636c69656e74732f72782d6f70657261746f72732f62616467652e737667)](https://travis-ci.org/php-api-clients/rx-operators)

Installation
============

[](#installation)

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

```
composer require api-clients/rx-operators

```

Usage
=====

[](#usage)

Decoding JSON:

```
$observable = Observable::fromArray(['{"foo":"bar"}']);
$promise = resolve($observable);

/**
 * Will decode into:
 * [
 *   'foo' => 'bar',
 * ]
 */
$observable->_ApiClients_jsonDecode()->subscribe(function ($d) {
    var_export($d);
});
```

Encoding JSON:

```
$observable = Observable::fromArray([[
    'foo' => 'bar',
]]);
$promise = resolve($observable);

/**
 * Will encode into:
 * {"foo":"bar"}
 */
$observable->_ApiClients_jsonEncode()->subscribe(function ($d) {
    echo $d;
});
```

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2017 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

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 61.6% 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 ~0 days

Total

2

Last Release

3344d ago

Major Versions

1.0.0 → 2.0.02017-03-23

### 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 (45 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (12 commits)")

---

Tags

hacktoberfestphpreactphp

### Embed Badge

![Health badge](/badges/api-clients-rx-operators/health.svg)

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

###  Alternatives

[matthiasnoback/naive-serializer

A naive JSON serializer which recursively converts an object graph to and from JSON, without any configuration or custom code.

509.7k1](/packages/matthiasnoback-naive-serializer)

PHPackages © 2026

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