jimchen/yii2-flysystem-contract

The flysystem extension contract for the Yii framework

Installs: 10

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/jimchen/yii2-flysystem-contract

1.1.0 2018-08-28 16:06 UTC

This package is auto-updated.

Last update: 2025-09-18 06:01:39 UTC


README

The flysystem extension contract for the Yii framework, the abstract class is from creocoder/yii2-flysystem, the repo's purpose is to separate the abstraction and implementation.

Installing

$ composer require jimchen/yii2-flysystem-contract -vvv

Usage

use jimchen\flysystem\Filesystem;

class xxxFilesystem extends Filesystem
{
    /**
     * @return \League\Flysystem\AdapterInterface
     */
    protected function prepareAdapter()
    {
        // TODO: Implement prepareAdapter() method.
    }
}

\jimchen\flysystem\Filesystem is a Yii2 Component, so your xxxFilesystem can register as a Yii2 Component.

Thanks

creocoder/yii2-flysystem

License

MIT