PHPackages                             orisai/stream-wrapper-contracts - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. orisai/stream-wrapper-contracts

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

orisai/stream-wrapper-contracts
===============================

Full and type-safe interface for PHP's stream wrapper

1.0.0(9mo ago)15.8k11MPL-2.0PHPPHP 7.4 - 8.4CI passing

Since Jul 31Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/orisai/stream-wrapper-contracts)[ Packagist](https://packagist.org/packages/orisai/stream-wrapper-contracts)[ Docs](https://github.com/orisai/stream-wrapper-contracts)[ RSS](/packages/orisai-stream-wrapper-contracts/feed)WikiDiscussions v1.x Synced 1mo ago

READMEChangelogDependencies (10)Versions (2)Used By (1)

 [![Orisai](https://github.com/orisai/.github/raw/main/images/repo_title.png?raw=true)](https://github.com/orisai/.github/blob/main/images/repo_title.png?raw=true)
 Stream Wrapper Contracts
===============================================================================================================================================================================================

[](#stream-wrapper-contracts)

 Interface for PHP stream wrapper methods

 📄 Check out our [documentation](docs/README.md).

 💸 If you like Orisai, please [make a donation](https://orisai.dev/sponsor). Thank you!

 [![](https://github.com/orisai/stream-wrapper-contracts/actions/workflows/ci.yaml/badge.svg?branch=v1.x)](https://github.com/orisai/stream-wrapper-contracts/actions?query=workflow:CI+branch:v1.x) [![](https://camo.githubusercontent.com/407fd81b050b28e3c580acb8462af7cec1953669fbebc09a7f7ed11bb095bae0/68747470733a2f2f62616467656e2e6e65742f636f766572616c6c732f632f6769746875622f6f72697361692f73747265616d2d777261707065722d636f6e7472616374732f76312e783f63616368653d333030)](https://coveralls.io/github/orisai/stream-wrapper-contracts?branch=v1.x) [![](https://camo.githubusercontent.com/acb33ae682db094791f0432060f36f386e7358ade28702a50345934b82bbfac7/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d68747470733a2f2f62616467652d6170692e737472796b65722d6d757461746f722e696f2f6769746875622e636f6d2f6f72697361692f73747265616d2d777261707065722d636f6e7472616374732f76312e78)](https://dashboard.stryker-mutator.io/reports/github.com/orisai/stream-wrapper-contracts/v1.x) [![](https://camo.githubusercontent.com/4db2400dcbf52660247cdaa30c12df417ac314106b5fa07d88b0bd5e4832969e/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f6f72697361692f73747265616d2d777261707065722d636f6e7472616374733f63616368653d33363030)](https://packagist.org/packages/orisai/stream-wrapper-contracts) [![](https://camo.githubusercontent.com/709654fefd853997510247900b7f02ad72694be349f98d2744bd0221cb6692c9/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f6f72697361692f73747265616d2d777261707065722d636f6e7472616374733f63616368653d33363030)](https://packagist.org/packages/orisai/stream-wrapper-contracts) [![](https://camo.githubusercontent.com/40b2374865c7727b1568a7b77cc1a8068979ac265d85d659fe73b2d337b458e6/68747470733a2f2f62616467656e2e6e65742f62616467652f6c6963656e73652f4d504c2d322e302f626c75653f63616368653d33363030)](https://choosealicense.com/licenses/mpl-2.0/)

```
use Orisai\StreamWrapperContracts\StreamWrapper;

final class ExampleStreamWrapper implements StreamWrapper
{

	// ...

}
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance56

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

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

Every ~0 days

Total

2

Last Release

292d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20974277?v=4)[Marek Bartoš](/maintainers/mabar)[@mabar](https://github.com/mabar)

---

Top Contributors

[![mabar](https://avatars.githubusercontent.com/u/20974277?v=4)](https://github.com/mabar "mabar (12 commits)")

---

Tags

abstractionscontractsdecouplinginterfacesinteroperabilityorisaiphpstandardsstreamwrapperstreamstandardsinterfacesinteroperabilitycontractsabstractionsdecouplingwrapperorisai

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/orisai-stream-wrapper-contracts/health.svg)

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

###  Alternatives

[symfony/translation-contracts

Generic abstractions related to translation

2.6k698.7M432](/packages/symfony-translation-contracts)[symfony/contracts

A set of abstractions extracted out of the Symfony components

3.9k64.6M103](/packages/symfony-contracts)

PHPackages © 2026

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