eqingdan/flysystem-qiniu

Flysystem Adapter for Qiniu

0.1.0 2015-04-01 04:14 UTC

README

Installation

composer require eqingdan/flysystem-qiniu

Usage

use League\Flysystem\Filesystem;
use EQingdan\Flysystem\Qiniu\QiniuAdapter;

$accessKey = '**********';
$secretKey = '**********';
$bucket = 'sandbox';
$domain = 'sandbox.qiniudn.com';

$filesystem = new Filesystem(new QiniuAdapter($accessKey, $secretKey, $bucket, $domain));

Thanks

-EOF-