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

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

whc/yii2-flysystem-wrapper
==========================

yii2 flysystem wrapper

4305[2 issues](https://github.com/whc-projects/yii2-flysystem-wrapper/issues)[1 PRs](https://github.com/whc-projects/yii2-flysystem-wrapper/pulls)PHP

Since Oct 29Pushed 6y ago2 watchersCompare

[ Source](https://github.com/whc-projects/yii2-flysystem-wrapper)[ Packagist](https://packagist.org/packages/whc/yii2-flysystem-wrapper)[ RSS](/packages/whc-yii2-flysystem-wrapper/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

yii2 flysystem wrapper
======================

[](#yii2-flysystem-wrapper)

yii2 flysystem wrapper. [Flysystem](http://flysystem.thephpleague.com/) is a filesystem abstraction which allows you to easily swap out a local filesystem for a remote one.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist whc/yii2-flysystem-wrapper "*"

```

or add

```
"whc/yii2-flysystem-wrapper": "*"

```

to the require section of your `composer.json` file.

then up migrations

```
php yii migrate/up --migrationPath=vendor/whc/yii2-flysystem-wrapper/migrations

```

Usage/Features
--------------

[](#usagefeatures)

Once the extension is installed, simply use it in your code by :

add "fs" to components

```
'fs' => [
    'class' => 'Integral\Flysystem\Adapter\PDOAdapter', // or other adapters
    'tableName' => 'file_storage'
],
```

upload sample code

```
