PHPackages                             mintware-de/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. [HTTP &amp; Networking](/categories/http)
4. /
5. mintware-de/streams

ActiveLibrary[HTTP &amp; Networking](/categories/http)

mintware-de/streams
===================

A implementation of the PSR-7 StreamInterface

v3.0.0(2y ago)686.6k32MITPHPPHP ^8.2CI failing

Since Aug 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mintware-de/streams)[ Packagist](https://packagist.org/packages/mintware-de/streams)[ RSS](/packages/mintware-de-streams/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (4)Versions (6)Used By (2)

[![Packagist](https://camo.githubusercontent.com/794bbdca8c1629391abef6174b6d34b3b01562f6861e63e071219a1dc1f5bdb1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696e74776172652d64652f73747265616d732e737667)](https://packagist.org/packages/mintware-de/streams)[![GitHub license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://raw.githubusercontent.com/mintware-de/streams/master/LICENSE)[![Packagist](https://camo.githubusercontent.com/287c76c8f97bf85c173dc701320ad06e2af16f8c8db2fc9b32a8a53d652e9ae5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d696e74776172652d64652f73747265616d732e737667)](https://packagist.org/packages/mintware-de/streams)

💾 Streams for PHP
=================

[](#-streams-for-php)

This package provides some implementations of the PSR-7 StreamInterface.

📦 Installation
--------------

[](#-installation)

You can install this package using composer:

```
$ composer require mintware-de/streams
```

📄 FileStream
------------

[](#-filestream)

Provides read / write access for files.

```
use \MintWare\Streams\FileStream;
$stream = new FileStream($filename, $readable = true, $writable = true);
```

💻 MemoryStream
--------------

[](#-memorystream)

With this implementation you can read data from and write data to the memory.

```
use \MintWare\Streams\MemoryStream;
$stream = new MemoryStream($initialData = '');
```

📥 InputStream
-------------

[](#-inputstream)

Provides read-only access for the `php://input` resource. This holds for example the raw HTTP request.

```
use \MintWare\Streams\InputStream;
$stream = new InputStream();
```

📤 OutputStream
--------------

[](#-outputstream)

Provides write-only access for the `php://output` resource.

```
use \MintWare\Streams\OutputStream;
$stream = new OutputStream();
```

🧪 Unit Tests
------------

[](#-unit-tests)

```
$ phpunit
```

⭐️ Rating
---------

[](#️-rating)

Don't forget to hit the ⭐️-Star button if you find this package useful. Thanks 🙂

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 84.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 ~585 days

Total

4

Last Release

751d ago

Major Versions

v1.0.1 → v2.0.02022-03-22

v2.0.0 → v3.0.02024-06-12

PHP version history (3 changes)v1.0.0PHP 5.6.\* || ^7.0

v2.0.0PHP ^7.4 || ^8.0

v3.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2362734?v=4)[Julian Finkler](/maintainers/Devtronic)[@devtronic](https://github.com/devtronic)

---

Top Contributors

[![devtronic](https://avatars.githubusercontent.com/u/2362734?v=4)](https://github.com/devtronic "devtronic (11 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (2 commits)")

---

Tags

psrpsr-7resourceStreamInterfaceResourceStreamMemoryStreamInputStreamOutputStreamFileStream

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[psr/http-factory

PSR-17: Common interfaces for PSR-7 HTTP message factories

1.9k747.1M2.7k](/packages/psr-http-factory)[symfony/psr-http-message-bridge

PSR HTTP message bridge

1.3k320.9M982](/packages/symfony-psr-http-message-bridge)[laminas/laminas-diactoros

PSR HTTP Message implementations

548115.3M1.2k](/packages/laminas-laminas-diactoros)[mezzio/mezzio

PSR-15 Middleware Microframework

3923.8M125](/packages/mezzio-mezzio)[psr/http-server-handler

Common interface for HTTP server-side request handler

180114.7M1.2k](/packages/psr-http-server-handler)

PHPackages © 2026

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