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

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

twistor/flysystem-stream-wrapper
================================

Adapts Flysystem filesystems to PHP stream wrappers.

v1.0.9(7y ago)582.8M↓52.1%21[9 issues](https://github.com/twistor/flysystem-stream-wrapper/issues)[5 PRs](https://github.com/twistor/flysystem-stream-wrapper/pulls)8MITPHPCI failing

Since May 16Pushed 2y ago2 watchersCompare

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

READMEChangelogDependencies (3)Versions (12)Used By (8)

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

45

—

FairBetter than 91% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity54

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 97.8% 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 ~141 days

Recently: every ~316 days

Total

10

Last Release

2788d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42400?v=4)[Chris Leppanen](/maintainers/twistor)[@twistor](https://github.com/twistor)

---

Top Contributors

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

---

Tags

flysystem

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k285.7M1.0k](/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.5M85](/packages/unisharp-laravel-filemanager)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40432.5M136](/packages/league-flysystem-bundle)[alexusmai/laravel-file-manager

File manager for Laravel

1.2k803.2k9](/packages/alexusmai-laravel-file-manager)

PHPackages © 2026

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