liukaho / flysystem-cos
QCloud COS storage
v1.0
2019-04-27 07:27 UTC
Requires
- guzzlehttp/guzzle: ^6.3
- league/flysystem: ^1.0
- mockery/mockery: ^1.2
- phpunit/phpunit: ^7.5
- qcloud/cos-sdk-v5: ^1.3
This package is auto-updated.
Last update: 2024-11-27 19:54:24 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