PHPackages                             lyle-lai/flysystem-qiniu - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. lyle-lai/flysystem-qiniu

ActiveLibrary[File &amp; Storage](/categories/file-storage)

lyle-lai/flysystem-qiniu
========================

Flysystem adapter for the Qiniu storage.

0.0.3(8y ago)0411MITPHPPHP &gt;=5.5.9

Since Mar 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/LyleLai/flysystem-qiniu)[ Packagist](https://packagist.org/packages/lyle-lai/flysystem-qiniu)[ RSS](/packages/lyle-lai-flysystem-qiniu/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (4)Versions (4)Used By (1)

Flysystem Qiniu
===============

[](#flysystem-qiniu)

💾 Flysystem adapter for the Qiniu storage.

[![Build Status](https://camo.githubusercontent.com/30d8a8d826c10330a6f2581fecfada193200bc29733de6a8ea522ee9037915fb/68747470733a2f2f7472617669732d63692e6f72672f6f766572747275652f666c7973797374656d2d71696e69752e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/overtrue/flysystem-qiniu)[![Latest Stable Version](https://camo.githubusercontent.com/e60c0b65119cdeccebdfec3eeb33e833ce1a583979365d6fa4c2e0b1c4bb4000/68747470733a2f2f706f7365722e707567782e6f72672f6f766572747275652f666c7973797374656d2d71696e69752f762f737461626c652e737667)](https://packagist.org/packages/overtrue/flysystem-qiniu)[![Latest Unstable Version](https://camo.githubusercontent.com/8cc646d0547e5fe4f5c945d9d8e2a600e8e5622ee57b37110c5fe2896458ffb0/68747470733a2f2f706f7365722e707567782e6f72672f6f766572747275652f666c7973797374656d2d71696e69752f762f756e737461626c652e737667)](https://packagist.org/packages/overtrue/flysystem-qiniu)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/6525f424063336bb7812dab0f79365985820b15f76f19509e2f54f87364b6adf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f766572747275652f666c7973797374656d2d71696e69752f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/overtrue/flysystem-qiniu/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/ed992d09fdd25dd7511e819da7f4bcffbf90006cbaa092b794b441c3626c0d5c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f766572747275652f666c7973797374656d2d71696e69752f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/overtrue/flysystem-qiniu/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/11bb3cf070a946d709a1b2270f755fcc1a1e46e47c32ba2c4a642a04c181e47f/68747470733a2f2f706f7365722e707567782e6f72672f6f766572747275652f666c7973797374656d2d71696e69752f646f776e6c6f616473)](https://packagist.org/packages/overtrue/flysystem-qiniu)[![License](https://camo.githubusercontent.com/6fc5bb26d1babbcbe0a85e9669d409bc575652012b03816b74fa1a2cccdd9437/68747470733a2f2f706f7365722e707567782e6f72672f6f766572747275652f666c7973797374656d2d71696e69752f6c6963656e7365)](https://packagist.org/packages/overtrue/flysystem-qiniu)

Requirement
===========

[](#requirement)

- PHP &gt;= 5.5.9

Installation
============

[](#installation)

```
$ composer require "overtrue/flysystem-qiniu" -vvv
```

Usage
=====

[](#usage)

```
use League\Flysystem\Filesystem;
use Overtrue\Flysystem\Qiniu\QiniuAdapter;

$accessKey = 'xxxxxx';
$secretKey = 'xxxxxx';
$bucket = 'test-bucket-name';
$domain = 'xxxx.bkt.clouddn.com'; // or with protocol: https://xxxx.bkt.clouddn.com

$adapter = new QiniuAdapter($accessKey, $secretKey, $bucket, $domain);

$flysystem = new League\Flysystem\Filesystem($adapter);
```

API
---

[](#api)

```
bool $flysystem->write('file.md', 'contents');

bool $flysystem->writeStream('file.md', fopen('path/to/your/local/file.jpg', 'r'));

bool $flysystem->update('file.md', 'new contents');

bool $flysystem->updateStream('file.md', fopen('path/to/your/local/file.jpg', 'r'));

bool $flysystem->rename('foo.md', 'bar.md');

bool $flysystem->copy('foo.md', 'foo2.md');

bool $flysystem->delete('file.md');

bool $flysystem->has('file.md');

string|false $flysystem->read('file.md');

array $flysystem->listContents();

array $flysystem->getMetadata('file.md');

int $flysystem->getSize('file.md');

string $flysystem->getAdapter()->getUrl('file.md');

string $flysystem->getMimetype('file.md');

int $flysystem->getTimestamp('file.md');
```

Integration
===========

[](#integration)

- Laravel 5: [overtrue/laravel-filesystem-qiniu](https://github.com/overtrue/laravel-filesystem-qiniu)
- Yii2: [krissss/yii2-filesystem-qiniu](https://github.com/krissss/yii2-filesystem-qiniu)

License
=======

[](#license)

MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~68 days

Total

3

Last Release

3211d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d11fd99a6801db983090234bafb7fd9c11a2f573742e5140f9cd54df80e9322?d=identicon)[LyleLai](/maintainers/LyleLai)

---

Top Contributors

[![overtrue](https://avatars.githubusercontent.com/u/1472352?v=4)](https://github.com/overtrue "overtrue (15 commits)")[![krissss](https://avatars.githubusercontent.com/u/10680903?v=4)](https://github.com/krissss "krissss (1 commits)")[![LyleLai](https://avatars.githubusercontent.com/u/15356670?v=4)](https://github.com/LyleLai "LyleLai (1 commits)")[![summerblue](https://avatars.githubusercontent.com/u/324764?v=4)](https://github.com/summerblue "summerblue (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lyle-lai-flysystem-qiniu/health.svg)

```
[![Health](https://phpackages.com/badges/lyle-lai-flysystem-qiniu/health.svg)](https://phpackages.com/packages/lyle-lai-flysystem-qiniu)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[league/flysystem-local

Local filesystem adapter for Flysystem.

226231.8M39](/packages/league-flysystem-local)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40029.5M87](/packages/league-flysystem-bundle)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[league/flysystem-memory

In-memory filesystem adapter for Flysystem.

8533.6M194](/packages/league-flysystem-memory)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
