PHPackages                             webalternatif/flysystem-composite - 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. webalternatif/flysystem-composite

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

webalternatif/flysystem-composite
=================================

A simple interface for composite Flysystem adapters

v0.3.0(1y ago)28.5k↓12.5%2MITPHPPHP 8.1.\* || 8.2.\* || 8.3.\* || 8.4.\*CI passing

Since Oct 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/webalternatif/flysystem-composite)[ Packagist](https://packagist.org/packages/webalternatif/flysystem-composite)[ RSS](/packages/webalternatif-flysystem-composite/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (7)Used By (2)

Flysystem Composite
===================

[](#flysystem-composite)

[![Source code](https://camo.githubusercontent.com/9b8ddc7e56da16a99ff97b3a2bf8574dbb0d4ead97f47acc88d308eb47ef5730/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d4769744875622d626c7565)](https://github.com/webalternatif/flysystem-composite)[![Software license](https://camo.githubusercontent.com/601d958b61391d6e8ab10286690e11fa7d7eba67a0fa346bff3d631852166468/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f776562616c7465726e617469662f666c7973797374656d2d636f6d706f73697465)](https://github.com/webalternatif/flysystem-composite/blob/main/LICENSE)[![GitHub issues](https://camo.githubusercontent.com/4eca1772ffedf17302067fde17d97f8509511eee51acaf252ef29e64052f654c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f776562616c7465726e617469662f666c7973797374656d2d636f6d706f73697465)](https://github.com/webalternatif/flysystem-composite/issues)[![Test status](https://camo.githubusercontent.com/292e37ddf90bf6a19f5d60bbf557e59048befb7f1efb1c269d8a59dd161a73b8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776562616c7465726e617469662f666c7973797374656d2d636f6d706f736974652f746573742e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473)](https://github.com/webalternatif/flysystem-composite/actions/workflows/test.yml)[![Psalm coverage](https://camo.githubusercontent.com/8e37ea1db08a1586a5022b7161ff560df37ce4eac0af9bb4e7589e0a62007a10/68747470733a2f2f73686570686572642e6465762f6769746875622f776562616c7465726e617469662f666c7973797374656d2d636f6d706f736974652f636f7665726167652e737667)](https://psalm.dev)[![Psalm level](https://camo.githubusercontent.com/a9037bd04e745ee605279f8422556aca07c4dc1d3433ecb964f2172173716397/68747470733a2f2f73686570686572642e6465762f6769746875622f776562616c7465726e617469662f666c7973797374656d2d636f6d706f736974652f6c6576656c2e737667)](https://psalm.dev)

A simple interface for composite [Flysystem](https://flysystem.thephpleague.com) adapters.

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

[](#installation)

```
$ composer require webalternatif/flysystem-composite
```

Usage
-----

[](#usage)

```
use Webf\Flysystem\Composite\CompositeFilesystemAdapter;

/**
 * @template T of FilesystemAdapter
 * @template-implements CompositeFilesystemAdapter
 */
class MyWrapperAdapter implements CompositeFilesystemAdapter
{
    /**
     * @param T $innerAdapter
     */
    public function __construct(private FilesystemAdapter $innerAdapter)
    {
    }

    public function getInnerAdapters() : iterable
    {
        return [$this->innerAdapter];
    }

    // ... (implementation of FilesystemAdapter's methods)
}
```

Tests
-----

[](#tests)

To run all tests, execute the command:

```
$ composer test
```

This will run [Psalm](https://psalm.dev) and a [PHP-CS-Fixer](https://cs.symfony.com/) check, but you can run them individually like this:

```
$ composer psalm
$ composer cs-check
```

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance45

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

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

Recently: every ~283 days

Total

6

Last Release

454d ago

PHP version history (5 changes)v0.1.0PHP 8.0.\*

v0.1.1PHP 8.0.\* || 8.1.\*

v0.2.1PHP 8.0.\* || 8.1.\* || 8.2.\*

v0.2.2PHP 8.0.\* || 8.1.\* || 8.2.\* || 8.3.\*

v0.3.0PHP 8.1.\* || 8.2.\* || 8.3.\* || 8.4.\*

### Community

Maintainers

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

---

Top Contributors

[![chapa](https://avatars.githubusercontent.com/u/457659?v=4)](https://github.com/chapa "chapa (25 commits)")

---

Tags

filesystemFlysystemadapterstoragecomposite

###  Code Quality

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/webalternatif-flysystem-composite/health.svg)

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

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

AsyncAws S3 filesystem adapter for Flysystem.

2610.5M30](/packages/league-flysystem-async-aws-s3)[nimbusoft/flysystem-openstack-swift

Flysystem adapter for OpenStack Swift

44774.4k6](/packages/nimbusoft-flysystem-openstack-swift)

PHPackages © 2026

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