PHPackages                             digicomp/league-flysystem - 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. digicomp/league-flysystem

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

digicomp/league-flysystem
=========================

A factory to create league filesystems in for the Flow framework

2.1.3(5y ago)035MITPHPPHP ^7.2

Since Oct 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/digital-competence/DigiComp.League.Flysystem)[ Packagist](https://packagist.org/packages/digicomp/league-flysystem)[ Docs](https://github.com/digital-competence/DigiComp.League.Flysystem)[ RSS](/packages/digicomp-league-flysystem/feed)WikiDiscussions develop Synced 6d ago

READMEChangelogDependencies (3)Versions (11)Used By (0)

DigiComp.League.Flysystem
-------------------------

[](#digicompleagueflysystem)

This package contains a factory for the filesystem abstraction layer written by Frank de Jonge. See

There are two possibilities to use filesystems.

1. To use a filesystem in your project, I suggest you create an interface:

    ```
     /**
      * @method array listFiles(string $path = '', boolean $recursive = false)
      * @method array listPaths(string $path = '', boolean $recursive = false)
      */
     interface MyFilesystemInterface extends FilesystemInterface {}

    ```

    And configure it with your `Objects.yaml`:

    ```
    AcMe\Package\SourceFilesystemInterface:
      scope: 'singleton'
      factoryObjectName: 'DigiComp\League\Flysystem\FilesystemFactory'
      factoryMethodName: 'create'
      arguments:
        1:
          setting: 'AcMe.Package.filesystem'
        2:
          value: ['ListPaths', 'ListFiles']
    ```

    While your `Settings.yaml` could look like this:

    ```
    AcMe:
      Package:
        filesystem:
          adapter: 'League\Flysystem\Adapter\Ftp'
          adapterArguments:
            config:
              host: 'digital-competence.de'
              username: 'user'
              password: 'password'
              root: '/path/for/root'
          filesystemConfig:
            visibility: public
            disable_asserts: true
    ```

    The array used as first parameter for the factory expects an "adapter" and allows a "filesystemConfig" - key and all constructor arguments needed for the instantiation of the configured adapter.

    All other keys will be treated as property setters for the adapter.

    The second parameter is a list of plugins, which should be added to your filesystem. Without a package prefix, they will be searched in `League\Flysystem\Plugin`. If you write something like `AcMe.Package:MyPlugin` the factory will look for a plugin named `\AcMe\Package\FlysystemPlugin\MyPlugin`.

    After that you can Flow let inject your filesystem for you:

    ```
     /**
      * @var AcMe\Package\MyFilesystemInterface
      * @Flow\Inject
      */

    ```
2. You could use a named Filesystem. Most of the parts above still makes sense, but instead of passing configuration arrays to the factory you might configure it in a Filesystem.yaml and give it a name.

    ```
    DigiComp.League.Flysystem.TestingFilesystem:
      adapter: 'League\Flysystem\Adapter\Local'
      adapterArguments:
        root: '%FLOW_PATH_PACKAGES%Application/DigiComp.League.Flysystem'
      filesystemConfig:
        visibility: 'public'
      plugins: ['ListPaths', 'ListFiles']
    ```

    And then in Objects.yaml use use a different factory method:

    ```
    AcMe\Package\SourceFilesystemInterface:
      scope: 'singleton'
      factoryObjectName: 'DigiComp\League\Flysystem\FilesystemFactory'
      factoryMethodName: 'createNamedFilesystem'
      arguments:
        1:
          value: 'DigiComp.League.Flysystem.TestingFilesystem'
    ```

And: Don't forget to have a lot of fun.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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 ~232 days

Recently: every ~110 days

Total

9

Last Release

2022d ago

Major Versions

1.0.2 → 2.0.02018-05-14

### Community

Maintainers

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

---

Top Contributors

[![fcool](https://avatars.githubusercontent.com/u/304736?v=4)](https://github.com/fcool "fcool (36 commits)")

---

Tags

filesystemfilesstoragefilesystemsflowNeos

### Embed Badge

![Health badge](/badges/digicomp-league-flysystem/health.svg)

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

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

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

Flysystem adapter for OpenStack Swift

44774.4k6](/packages/nimbusoft-flysystem-openstack-swift)[league/flysystem-async-aws-s3

AsyncAws S3 filesystem adapter for Flysystem.

2610.5M31](/packages/league-flysystem-async-aws-s3)[sausin/laravel-ovh

OVH Object Storage driver for laravel

40153.5k](/packages/sausin-laravel-ovh)

PHPackages © 2026

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