PHPackages                             moebius/streams - 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. moebius/streams

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

moebius/streams
===============

Evented and asynchronous API for streaming data

1.0.0(4y ago)04MITPHP

Since Jun 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/moebiusphp/streams)[ Packagist](https://packagist.org/packages/moebius/streams)[ RSS](/packages/moebius-streams/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (2)Used By (0)

Moebius/Streams
===============

[](#moebiusstreams)

Provides a powerful API for generating PSR-7 compliant streams.

Allows connecting a writable stream to a readable stream. When writing to the writable stream, the readable stream can be read and vice versa.

Moebius\\Streams\\SourceInterface
---------------------------------

[](#moebiusstreamssourceinterface)

Represents a stream of bytes coming from any source.

`SourceInterface::write(string $chunk)` adds a chunk of bytes to the byte stream. The function will block if any of the readers have requested that the byte stream pause.

`SourceInterface::end()` signals that the byte stream is complete, and is interpreted as end-of-file when consumed by a ReadableStream.

Moebius\\Streams\\ReadableStream
--------------------------------

[](#moebiusstreamsreadablestream)

Class implements the `Psr\Http\Message\StreamInterface` and provides read access to the data stream.

Moebius\\Stream\\WritableStream
-------------------------------

[](#moebiusstreamwritablestream)

Class implements the `Psr\Http\Message\StreamInterface` and provides write access to the data stream.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

1467d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8822e0a14ce04a8f711d4ea933ea90aa005d9ee14827f05feac572c5601fb840?d=identicon)[frodeborli](/maintainers/frodeborli)

---

Top Contributors

[![frodeborli](https://avatars.githubusercontent.com/u/2299344?v=4)](https://github.com/frodeborli "frodeborli (1 commits)")

### Embed Badge

![Health badge](/badges/moebius-streams/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

346132.9M112](/packages/google-cloud-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[anthropic-ai/sdk

Anthropic PHP SDK

163583.3k17](/packages/anthropic-ai-sdk)

PHPackages © 2026

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