liukaho/flysystem-cos

QCloud COS storage

v1.0 2019-04-27 07:27 UTC

This package is auto-updated.

Last update: 2024-05-27 18:53:17 UTC


README

QCloud COS storage Flysystem Adapter

Installing

$ composer require liukaho/flysystem-cos

Usage

use Liukaho\Flysystem\Cos\CosAdapter;
use League\Flysystem\Filesystem;

$adapter = new CosAdapter('secretId', 'secretKey', 'bucket', 'region');
$flysystem = new Filesystem($adapter);

详细请参考 Flysystem

Contributing

License

MIT