PHPackages                             barryvdh/elfinder-flysystem-driver - 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. barryvdh/elfinder-flysystem-driver

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

barryvdh/elfinder-flysystem-driver
==================================

A Flysystem Driver for elFinder

v0.5.0(2y ago)1864.7M—1.6%42[24 issues](https://github.com/barryvdh/elfinder-flysystem-driver/issues)20MITPHPPHP ^8.1CI passing

Since Jan 28Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/barryvdh/elfinder-flysystem-driver)[ Packagist](https://packagist.org/packages/barryvdh/elfinder-flysystem-driver)[ Fund](https://fruitcake.nl)[ GitHub Sponsors](https://github.com/barryvdh)[ RSS](/packages/barryvdh-elfinder-flysystem-driver/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (7)Versions (16)Used By (20)

elFinder Flysystem Driver
-------------------------

[](#elfinder-flysystem-driver)

> This package adds a VolumeDriver for elFinder to use Flysystem as a root in your system. You need to have elFinder 2.1 installed. You can download the source or nightlies from  or use the Laravel version:

Require this package in your composer.json and update composer.

```
composer require barryvdh/elfinder-flysystem-driver

```

This will require Flysystem, but you might need additional adapters to fit your purpose. See  for more information.

### Basic usage

[](#basic-usage)

You can use the driver by setting the connector config to Flysystem.

```
'roots' => [
    [
        'driver' => 'Flysystem',
        'path' => 'images',
        'URL' => '/images',
        'filesystem' => new Filesystem(new LocalAdapter('/path/to/public_html')),
        'cache' => 'session', // 'session', 'memory' or false
    ],
    [
        'driver' => 'Flysystem',
        'URL' => 'http://mydomain.com/content',
        'alias' => 'Mydomain.com',
        'filesystem' => new Filesystem(new FtpAdapter(
                [
                    'host' => 'mydomain.com',
                    'username' => 'user',
                    'password' => '****',
                    'root' => '/domains/mydomain.com/public_html/content',
                ]
            )),
    ],
    [
        'driver' => 'Flysystem',
        'adapter' => new DropboxAdapter(new Dropbox\Client($token, $appName))
    ],
];

```

The `path` and `URL` options are optional. The path defaults to '/', the URL is only possible when the file is visible through an URL.

### Displaying thumbnails/images through Glide

[](#displaying-thumbnailsimages-through-glide)

If you require [Glide](https://github.com/thephpleague/glide), you can show thumbnails for your images and generate secure urls.

```
[
    'driver' => 'Flysystem',
    'filesystem' => $fs,
    'glideURL' => 'http://domain.com/glideserver',
    'glideKey' => 'your-sign-key',
],

```

You can still use the tmbSize and tmbCrop options from the [configuration options](https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options-2.1#root-options)

This will require you to setup a basic server with Glide, see A signKey is optional, but can help secure your images against changing parameters.

> Note: When securing image, you need to remove the `_` parameter from your Request object: `$request->query->remove('_');`Otherwise the signature will fail. The `_` parameter is used to disable caching.

### License

[](#license)

This elFinder driver is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance57

Moderate activity, may be stable

Popularity62

Solid adoption and visibility

Community36

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 67.5% 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 ~256 days

Recently: every ~181 days

Total

14

Last Release

800d ago

PHP version history (3 changes)0.1.0PHP &gt;=5.4

v0.4.0PHP ^8.0

v0.5.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (104 commits)")[![nao-pon](https://avatars.githubusercontent.com/u/1412630?v=4)](https://github.com/nao-pon "nao-pon (31 commits)")[![jnoordsij](https://avatars.githubusercontent.com/u/45041769?v=4)](https://github.com/jnoordsij "jnoordsij (9 commits)")[![adridev](https://avatars.githubusercontent.com/u/895348?v=4)](https://github.com/adridev "adridev (2 commits)")[![grossmannmartin](https://avatars.githubusercontent.com/u/1177414?v=4)](https://github.com/grossmannmartin "grossmannmartin (1 commits)")[![hotrush](https://avatars.githubusercontent.com/u/1247004?v=4)](https://github.com/hotrush "hotrush (1 commits)")[![delatbabel](https://avatars.githubusercontent.com/u/2335362?v=4)](https://github.com/delatbabel "delatbabel (1 commits)")[![lianee](https://avatars.githubusercontent.com/u/15734521?v=4)](https://github.com/lianee "lianee (1 commits)")[![buzzclue](https://avatars.githubusercontent.com/u/43321373?v=4)](https://github.com/buzzclue "buzzclue (1 commits)")[![noogen](https://avatars.githubusercontent.com/u/95691?v=4)](https://github.com/noogen "noogen (1 commits)")[![taylankasap](https://avatars.githubusercontent.com/u/4192479?v=4)](https://github.com/taylankasap "taylankasap (1 commits)")[![WesleyE](https://avatars.githubusercontent.com/u/649984?v=4)](https://github.com/WesleyE "WesleyE (1 commits)")

---

Tags

filesystemFlysystemelfinder

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/barryvdh-elfinder-flysystem-driver/health.svg)

```
[![Health](https://phpackages.com/badges/barryvdh-elfinder-flysystem-driver/health.svg)](https://phpackages.com/packages/barryvdh-elfinder-flysystem-driver)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[league/flysystem-local

Local filesystem adapter for Flysystem.

225231.8M39](/packages/league-flysystem-local)[oneup/flysystem-bundle

Integrates Flysystem filesystem abstraction library to your Symfony project.

64422.9M66](/packages/oneup-flysystem-bundle)[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)
