PHPackages                             kriss/yii2-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. kriss/yii2-flysystem

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

kriss/yii2-flysystem
====================

yii2-flysystem

v1.1(7y ago)21751MITPHP

Since Oct 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/krissss/yii2-flysystem)[ Packagist](https://packagist.org/packages/kriss/yii2-flysystem)[ RSS](/packages/kriss-yii2-flysystem/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (1)

Yii2 Flysystem
==============

[](#yii2-flysystem)

yii2-flysystem

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

```
php composer.phar require --prefer-dist kriss/yii2-flysystem

```

config
------

[](#config)

```
return [
    'components' => [
        // others
        'storage' => [
            'class' => \kriss\storage\Storage::class,
            'adapter' => function () {
                return new \League\Flysystem\Adapter\Local(Yii::getAlias('@webroot/files'));
            }
        ],
    ]
]
```

usage
-----

[](#usage)

```
use kriss\storage\Storage;
use Yii;

/** @var Storage $storage */
$storage = Yii::$app->get('storage');
$fileSystem = $storage->getFileSystem();
$adapter = $storage->getAdapter();
// or
$adapter = $storage->getFileSystem()->getAdapter();
```

more Info
---------

[](#more-info)

[flysystem](https://github.com/thephpleague/flysystem)

[fileSystem API](https://flysystem.thephpleague.com/docs/usage/filesystem-api/)

[Commonly-Used Adapters](https://github.com/thephpleague/flysystem#user-content-adapters)

[Aliyun OSS Adapter](https://github.com/xxtime/flysystem-aliyun-oss)

[QiNiu Adapter](https://github.com/overtrue/flysystem-qiniu)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

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

Total

2

Last Release

2763d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

filesystemflysystemyii2filesystemFlysystemstorageyii2extension

### Embed Badge

![Health badge](/badges/kriss-yii2-flysystem/health.svg)

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M788](/packages/league-flysystem-aws-s3-v3)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)

PHPackages © 2026

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