PHPackages                             codementality/flysystem-stream-wrapper - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. codementality/flysystem-stream-wrapper

ActiveLibrary[File &amp; Storage](/categories/file-storage)

codementality/flysystem-stream-wrapper
======================================

Adapts Flysystem filesystems to PHP stream wrappers. (fork of twistor/flysystem-stream-wrapper\_

v1.1.1(1y ago)1130.1k—0.9%1MITPHPCI passing

Since Jan 15Pushed 1y agoCompare

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

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

Flysystem stream wrapper
========================

[](#flysystem-stream-wrapper)

This package is a forked and updated version of the original package, twistor/flysystem-stream-wrapper. It has been updated to run on PHP 8.2+, and unit tests have been uppdated for PHPUnit 11+.

[![Status](https://github.com/codementality/flysystem-stream-wrapper/actions/workflows/tests.yml/badge.svg)](https://github.com/codementality/flysystem-stream-wrapper/actions/workflows/tests.yml/badge.svg)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/b3bdd4d66186dd13763217e78b57458831d983f7e16de29b75ab869f465eaa3b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656d656e74616c6974792f666c7973797374656d2d73747265616d2d777261707065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codementality/flysystem-stream-wrapper)

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

[](#installation)

```
composer require codementality/flysystem-stream-wrapper

```

Usage
-----

[](#usage)

```
use League\Flysystem\Adapter\Local;
use League\Flysystem\Filesystem;
use Codementality\FlysystemStreamWrapper;

// Get a Filesystem object.
$filesystem = new Filesystem(new Local('/some/path'));

FlysystemStreamWrapper::register('fly', $filesystem);

// Then you can use it like so.
file_put_contents('fly://filename.txt', $content);

mkdir('fly://happy_thoughts');

FlysystemStreamWrapper::unregister('fly');
```

Notes
-----

[](#notes)

This project tries to emulate the behavior of the standard PHP functions, rename(), mkdir(), unlink(), etc., as closely as possible. This includes emitting warnings. If any differences are discovered, please file an issue.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance42

Moderate activity, may be stable

Popularity36

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84% 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 ~6 days

Total

3

Last Release

477d ago

Major Versions

v1.1.0 → 3.x-dev2025-01-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/98bc4611d3303af9f09a0229162f1f47a26f3fb7324c114b6079f208780b6806?d=identicon)[codementality](/maintainers/codementality)

---

Top Contributors

[![twistor](https://avatars.githubusercontent.com/u/42400?v=4)](https://github.com/twistor "twistor (131 commits)")[![lhridley](https://avatars.githubusercontent.com/u/153297?v=4)](https://github.com/lhridley "lhridley (22 commits)")[![andruha](https://avatars.githubusercontent.com/u/698990?v=4)](https://github.com/andruha "andruha (1 commits)")[![kbond](https://avatars.githubusercontent.com/u/127811?v=4)](https://github.com/kbond "kbond (1 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codementality-flysystem-stream-wrapper/health.svg)

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[league/flysystem-local

Local filesystem adapter for Flysystem.

225231.8M39](/packages/league-flysystem-local)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40129.5M87](/packages/league-flysystem-bundle)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[league/flysystem-memory

In-memory filesystem adapter for Flysystem.

8533.6M194](/packages/league-flysystem-memory)

PHPackages © 2026

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