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.2(1mo ago)1209.2k↓28.4%2[1 PRs](https://github.com/codementality/flysystem-stream-wrapper/pulls)MITPHPCI passing

Since Jan 15Pushed 1mo 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 2w ago

READMEChangelogDependencies (7)Versions (13)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

49

—

FairBetter than 94% of packages

Maintenance90

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.9% 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 ~178 days

Total

4

Last Release

46d 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 (23 commits)")[![andruha](https://avatars.githubusercontent.com/u/698990?v=4)](https://github.com/andruha "andruha (1 commits)")[![ddowell617](https://avatars.githubusercontent.com/u/42110931?v=4)](https://github.com/ddowell617 "ddowell617 (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.7k293.8M1.2k](/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.6M90](/packages/unisharp-laravel-filemanager)[tempest/framework

The PHP framework that gets out of your way.

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

Filegator

3.0k1.3k](/packages/filegator-filegator)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M672](/packages/shopware-core)[azure-oss/storage-blob-flysystem

Flysystem adapter for Azure Storage PHP

301.6M31](/packages/azure-oss-storage-blob-flysystem)

PHPackages © 2026

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