PHPackages                             jenko/flysystem-gaufrette - 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. jenko/flysystem-gaufrette

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

jenko/flysystem-gaufrette
=========================

Gaufrette adapter for Flysystem

v1.0.0(9y ago)53.9kMITPHPPHP &gt;=5.4.0CI failing

Since Jan 26Pushed 4y ago2 watchersCompare

[ Source](https://github.com/jenkoian/flysystem-gaufrette)[ Packagist](https://packagist.org/packages/jenko/flysystem-gaufrette)[ RSS](/packages/jenko-flysystem-gaufrette/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

[Flysystem](https://github.com/thephpleague/flysystem) Adapter for [Gaufrette](https://github.com/KnpLabs/Gaufrette)
====================================================================================================================

[](#flysystem-adapter-for-gaufrette)

[![Build Status](https://camo.githubusercontent.com/7d83151c6a9cb9d6e674f7e0ad73960d81d9e40b396c272bc88b091ef43c515b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a656e6b6f69616e2f666c7973797374656d2d6761756672657474652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/jenkoian/flysystem-gaufrette)[![Coverage Status](https://camo.githubusercontent.com/a20b21ae739bdb4ee94a04395713ec05e0fe53675de454bab16624e6b0302627/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6a656e6b6f69616e2f666c7973797374656d2d6761756672657474652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/jenkoian/flysystem-gaufrette/code-structure)[![Quality Score](https://camo.githubusercontent.com/45574f787fce6147395f365d0f23fecbaf004b4f41601f2b673c765508ffbb89/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6a656e6b6f69616e2f666c7973797374656d2d6761756672657474652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/jenkoian/flysystem-gaufrette)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

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

[](#installation)

```
composer require jenko/flysystem-gaufrette
```

Usage
-----

[](#usage)

Basic usage:

```
use Jenko\Flysystem\GaufretteAdapter;
use Gaufrette\Adapter\Local;

$adapter = new GaufretteAdapter(
    new Local(__DIR__ . '/path/to/files');
);

$filesystem = new Filesystem($adapter);
```

Advanced usage:

```
use Jenko\Flysystem\GaufretteAdapter;
use Gaufrette\Adapter\Local;
use Gaufrette\Adapter\Flysystem;

// Hadouken!
$adapter = new GaufretteAdapter(
    new Flysystem(
        new GaufretteAdapter(
            new Flysystem(
                new GaufretteAdapter(
                    new Flysystem(
                        new GaufretteAdapter(
                            new Local(
                                __DIR__ . '/path/to/files'
                            )
                        )
                    )
                )
            )
        )
    )
);

$filesystem = new Filesystem($adapter);
```

Wait, what?
-----------

[](#wait-what)

[Gaufrette added a Flysystem adapter](https://github.com/KnpLabs/Gaufrette/blob/master/doc/adapters/flysystem.md) so it made sense to reciprocate the love and have an adapter going in the other direction. Although it does feel a little [yo dawg](https://cloud.githubusercontent.com/assets/993350/13571485/99fd5f90-e475-11e5-9f2c-04dea88713fd.png) it is useful. For example if you have a codebase which is quite coupled to the flysystem API (legacy app, obv you wouldn't have done this) but wish to make a switch to Gaufrette, this will allow you to do so without having to go through your codebase changing all calls to the old API. For more information on actual usage, see this blog post:

It also allows you to construct fun, bi-directional, [hadouken-esque](https://imgur.com/BtjZedW) nesting as seen in the advanced usage example above.

Unsupported methods
-------------------

[](#unsupported-methods)

Flysystem has a few methods which Gaufrette doesn't quite support, these are listed below:

- update
- updateStream
- copy
- createDir
- getVisibility
- setVisibility

The following methods are only supported for Gaufrette adapters implementing `MetadataSupporter`:

- getMetadata

The following methods are only supported for Gaufrette adapters implementing `SizeCalculator`:

- getSize

The following methods are only supported for Gaufrette adapters implementing `MimeTypeProvider`:

- getMimetype

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~1615 days

Total

2

Last Release

1819d ago

Major Versions

v1.0.0 → 2.x-dev2021-06-30

PHP version history (2 changes)v1.0.0PHP &gt;=5.4.0

2.x-devPHP ^7.2 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/131355?v=4)[Ian Jenkins](/maintainers/jenkoian)[@jenkoian](https://github.com/jenkoian)

---

Top Contributors

[![jenkoian](https://avatars.githubusercontent.com/u/131355?v=4)](https://github.com/jenkoian "jenkoian (3 commits)")

---

Tags

flysystemflysystem-adaptergaufrettephp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jenko-flysystem-gaufrette/health.svg)

```
[![Health](https://phpackages.com/badges/jenko-flysystem-gaufrette/health.svg)](https://phpackages.com/packages/jenko-flysystem-gaufrette)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

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

Symfony bundle integrating Flysystem into Symfony applications

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

The PHP framework that gets out of your way.

2.2k31.1k12](/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)
