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

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

heptacom/flysystem-stream-wrapper
=================================

Adapts Flysystem filesystems to PHP stream wrappers.

1.0.11(3w ago)057↑952.6%1MITPHP

Since May 13Pushed 3w agoCompare

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

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

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

39

—

LowBetter than 84% of packages

Maintenance94

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 94.2% 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

Unknown

Total

1

Last Release

27d ago

### Community

Maintainers

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

---

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)")[![leonrustmeier](https://avatars.githubusercontent.com/u/23141241?v=4)](https://github.com/leonrustmeier "leonrustmeier (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k277.8M952](/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.1k3.4M80](/packages/unisharp-laravel-filemanager)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40131.4M117](/packages/league-flysystem-bundle)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k11](/packages/tempest-framework)[alexusmai/laravel-file-manager

File manager for Laravel

1.2k786.7k9](/packages/alexusmai-laravel-file-manager)[barryvdh/elfinder-flysystem-driver

A Flysystem Driver for elFinder

1864.9M40](/packages/barryvdh-elfinder-flysystem-driver)

PHPackages © 2026

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