boofw/flysystem-qiniu

Flysystem adapter for Qiniu

v1.0.0 2015-12-11 05:37 UTC

This package is not auto-updated.

Last update: 2024-12-21 20:08:35 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));