eqingdan / flysystem-qiniu
Flysystem Adapter for Qiniu
0.1.0
2015-04-01 04:14 UTC
Requires
- php: >=5.4.0
- league/flysystem: ~1.0
- qiniu/php-sdk: ~7.0
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~4.5
This package is not auto-updated.
Last update: 2024-10-26 17:35:10 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-