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-11-09 19:19:36 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));