PHPackages                             kor3k/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. kor3k/flysystem-stream-wrapper

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

kor3k/flysystem-stream-wrapper
==============================

Adapts Flysystem filesystems to PHP stream wrappers.

v1.0.11(3y ago)27.2k↓33.3%2MITPHP

Since May 16Pushed 3y agoCompare

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

READMEChangelogDependencies (3)Versions (14)Used By (2)

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

[](#flysystem-stream-wrapper)

[![Author](https://camo.githubusercontent.com/273fdec6d2946cb33a201aa7bfaa8e6986efc8b01fc8f58787ddeee04d8f047e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d4063687269736c657070616e656e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/chrisleppanen)[![Build Status](https://camo.githubusercontent.com/7c4348d52e54b4a66e184f3f94e7ddf9c2ef7559c2ec9649802c85aa152fb7fc/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f74776973746f722f666c7973797374656d2d73747265616d2d777261707065722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/twistor/flysystem-stream-wrapper)[![AppVeyor](https://camo.githubusercontent.com/02254dc6b6b623de0cbf90d4debcbc95255d3e61b37036a214961c8a16a94abe/68747470733a2f2f696d672e736869656c64732e696f2f6170707665796f722f63692f74776973746f722f666c7973797374656d2d73747265616d2d777261707065722e7376673f7374796c653d666c61742d737175617265266c6162656c3d4170705665796f72)](https://ci.appveyor.com/project/twistor/flysystem-stream-wrapper)[![Coverage Status](https://camo.githubusercontent.com/9f55876fe89fc75e47d47f391c97fa1062456fb4007c32d1758454fd3e742ff4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f74776973746f722f666c7973797374656d2d73747265616d2d777261707065722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/twistor/flysystem-stream-wrapper/code-structure)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/12d2f328189f463520b292fcaffd7273f110749e56e80b8f9016edde07308b77/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74776973746f722f666c7973797374656d2d73747265616d2d777261707065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/twistor/flysystem-stream-wrapper)[![Total Downloads](https://camo.githubusercontent.com/d9901e1f142e5ecd7368daa356f479a61a959d58a38bfa126bee7ad5235aef9d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74776973746f722f666c7973797374656d2d73747265616d2d777261707065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/twistor/flysystem-stream-wrapper)

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

[](#installation)

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

```

Usage
-----

[](#usage)

```
use League\Flysystem\Adapter\Local;
use League\Flysystem\Filesystem;
use Twistor\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 wanrings. If any differences are discovered, please file an issue.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 94.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 ~249 days

Recently: every ~598 days

Total

12

Last Release

1276d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aba14ab747ce3463c11af9e3aa87c6b302075cbb99a23a62a99c9ffa46b79846?d=identicon)[kor3k](/maintainers/kor3k)

---

Top Contributors

[![twistor](https://avatars.githubusercontent.com/u/42400?v=4)](https://github.com/twistor "twistor (131 commits)")[![kor3k](https://avatars.githubusercontent.com/u/888273?v=4)](https://github.com/kor3k "kor3k (3 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (2 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)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/kor3k-flysystem-stream-wrapper/health.svg)](https://phpackages.com/packages/kor3k-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)
