boofw/flysystem-qiniu

Flysystem adapter for Qiniu

v1.0.0 2015-12-11 05:37 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));