boofw / flysystem-qiniu
Flysystem adapter for Qiniu
v1.0.0
2015-12-11 05:37 UTC
Requires
- php: >=5.4.0
- league/flysystem: 1.0.15
- qiniu/php-sdk: 7.0.6
This package is not auto-updated.
Last update: 2024-10-26 19:05:22 UTC
README
This is a Flysystem adapter for the Qiniu.
composer require boofw/flysystem-qiniu
Bootstrap
<?php use League\Flysystem\Filesystem; use Boofw\Flysystem\Qiniu\QiniuAdapter as Adapter; $ak = '**********'; $sk = '**********'; $bucket = 'bucket-name'; $filesystem = new Filesystem(new Adapter($ak, $sk, $bucket));