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 1w ago

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 17% 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

1512d 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.2k555.0M2.8k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k54](/packages/neuron-core-neuron-ai)[google/cloud-core

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

346137.0M126](/packages/google-cloud-core)[anthropic-ai/sdk

Anthropic PHP SDK

174884.4k25](/packages/anthropic-ai-sdk)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

36826.2k2](/packages/telnyx-telnyx-php)

PHPackages © 2026

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