PHPackages                             ebanx/stream - 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. ebanx/stream

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

ebanx/stream
============

A library to help working with streams of data in PHP

2.0.0(2y ago)174.7k↓100%1MITPHPPHP ^8.0CI failing

Since Dec 9Pushed 11mo ago64 watchersCompare

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

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

### Why Stream?

[](#why-stream)

Stream is a neat little library which should help you working with stream of data in PHP. It add methods to help you transform, reduce, and collect data.

### Is it stable?

[](#is-it-stable)

Well, Stream is used by EBANX to process over 17 millions requests per day. So it should be stable enough. But, any problems with it please open an issue or better yet, create a PR to fix it.

### Example

[](#example)

Here is an example of how to use it. More examples can be found in the library test.

```
use EBANX\Stream\Stream;

$result = Stream::rangeInt(0, 10)
    ->map(function (int $value): int {
        return $value ** 2;
    })
    ->filter(function (int $value): bool {
        return $value % 2 === 0;
    })
    ->collect();
```

### Installation

[](#installation)

Install the library with [Composer](https://getcomposer.org) by running

```
composer require ebanx/stream
```

### Licensing

[](#licensing)

We are distributing it using the permissive MIT license. Feel free to do whatever you want with it.

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 61.9% 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 ~285 days

Total

5

Last Release

834d ago

Major Versions

1.3.0 → 2.0.02024-01-26

PHP version history (3 changes)1.0.0PHP ^7.1

1.3.0PHP ^7.1||^8.0

2.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/01e46dd231d5a37a0d08144b7adde0109280d4f7f12e8056208c7152fd4444de?d=identicon)[ebanx](/maintainers/ebanx)

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

---

Top Contributors

[![killertux](https://avatars.githubusercontent.com/u/12685991?v=4)](https://github.com/killertux "killertux (39 commits)")[![jejung](https://avatars.githubusercontent.com/u/13054871?v=4)](https://github.com/jejung "jejung (13 commits)")[![luiznaac](https://avatars.githubusercontent.com/u/9319608?v=4)](https://github.com/luiznaac "luiznaac (4 commits)")[![joaorlima](https://avatars.githubusercontent.com/u/38928059?v=4)](https://github.com/joaorlima "joaorlima (3 commits)")[![rodrigoTomazelli](https://avatars.githubusercontent.com/u/457231?v=4)](https://github.com/rodrigoTomazelli "rodrigoTomazelli (2 commits)")[![bonfante](https://avatars.githubusercontent.com/u/8030979?v=4)](https://github.com/bonfante "bonfante (1 commits)")[![sallaumen](https://avatars.githubusercontent.com/u/28612071?v=4)](https://github.com/sallaumen "sallaumen (1 commits)")

---

Tags

owner-dev-payment-processing

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ebanx-stream/health.svg)

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

###  Alternatives

[razonyang/yii2-rate-limiter

Yii2 Rate Limiter

1025.0k1](/packages/razonyang-yii2-rate-limiter)

PHPackages © 2026

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