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

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

antibiotics11/stream
====================

IO Stream classes mimicking java.io

011PHP

Since Jun 8Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

stream
======

[](#stream)

IO Stream classes mimicking java.io

```
use antibiotics11\Stream\FileOutputStream;

$helloWorldFile = new FileOutputStream(name: "hello_world.txt", append: true);
for ($i = 0; $i < 10; $i++) {
    $helloWorldFile->write(bytes: "Hello, World!\r\n");
}
$helloWorldFile->flush();
$helloWorldFile->close();
```

Classes
-------

[](#classes)

- Stream\\InputStream
- Stream\\OutputStream
- Stream\\FileInputStream
- Stream\\FileOutputStream
- Stream\\BufferedOutputStream
- Stream\\StandardInputStream \[Deprecated\]
- Stream\\StandardOutputStream \[Deprecated\]

### Exceptions

[](#exceptions)

- Stream\\Exception\\IOException
- Stream\\Exception\\FileNotFoundException

Notice
------

[](#notice)

- **This project is experimental and does not guarantee the same functionality as java.io.**
- **Some features may be unstable due to mimicking method overloading with optional parameters.**

Requirements
------------

[](#requirements)

- PHP &gt;= 8.3
- [jetbrains/phpstorm-attributes](https://github.com/jetbrains/phpstorm-attributes) &gt;= 1.0

Installation
------------

[](#installation)

```
composer require antibiotics11/stream:dev-main
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/71744f1798505964b70af43a9ad703a51e99e4069a051731e03378290613f57d?d=identicon)[antibiotics11](/maintainers/antibiotics11)

---

Top Contributors

[![antibiotics11](https://avatars.githubusercontent.com/u/75349747?v=4)](https://github.com/antibiotics11 "antibiotics11 (22 commits)")

### Embed Badge

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

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

###  Alternatives

[tatter/themes

Lightweight theme manager for CodeIgniter 4

1710.2k2](/packages/tatter-themes)

PHPackages © 2026

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