PHPackages                             wispx/flysystem-upyun - 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. wispx/flysystem-upyun

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

wispx/flysystem-upyun
=====================

Flysystem adapter for the Upyun storage.

1.0(4y ago)17.3k↓50%MITPHP

Since Mar 10Pushed 1y agoCompare

[ Source](https://github.com/0xxb/flysystem-upyun)[ Packagist](https://packagist.org/packages/wispx/flysystem-upyun)[ GitHub Sponsors](https://github.com/wisp-x)[ RSS](/packages/wispx-flysystem-upyun/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Flysystem Adapter for Upyun Cloud Storage
-----------------------------------------

[](#flysystem-adapter-for-upyun-cloud-storage)

💾 Flysystem adapter for the Upyun cloud storage.

> This package is modified from [overtrue/flysystem-qiniu](https://github.com/overtrue/flysystem-qiniu)

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

[](#requirement)

- PHP &gt;= 8.0.2

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

[](#installation)

```
$ composer require "wispx/flysystem-upyun"
```

Usage
=====

[](#usage)

```
use League\Flysystem\Filesystem;
use WispX\Flysystem\Upyun\UpyunAdapter;

$service = 'xxxxxx';
$operator = 'xxxxxx';
$password = 'xxxxxx';
$domain = 'xxxx.test.upcdn.net'; // or with protocol: https://xxxx.test.upcdn.net

$adapter = new UpyunAdapter($service, $operator, $password, $domain);

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

API
---

[](#api)

```
bool $flysystem->write('file.md', 'contents');
bool $flysystem->write('file.md', 'http://httpbin.org/robots.txt');
bool $flysystem->writeStream('file.md', fopen('path/to/your/local/file.jpg', 'r'));
bool $flysystem->copy('foo.md', 'foo2.md');
bool $flysystem->delete('file.md');
bool $flysystem->has('file.md');
bool $flysystem->fileExists('file.md');
bool $flysystem->directoryExists('path/to/dir');
string|false $flysystem->read('file.md');
array $flysystem->listContents();
int $flysystem->fileSize('file.md');
string $flysystem->mimeType('file.md');
```

Adapter extended methods:

```
string $adapter->getUrl('file.md');
```

License
=======

[](#license)

MIT

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.6% 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

Unknown

Total

1

Last Release

1522d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1808765?v=4)[xxb](/maintainers/xxb)[@xxb](https://github.com/xxb)

---

Top Contributors

[![overtrue](https://avatars.githubusercontent.com/u/1472352?v=4)](https://github.com/overtrue "overtrue (63 commits)")[![robberphex](https://avatars.githubusercontent.com/u/1926185?v=4)](https://github.com/robberphex "robberphex (6 commits)")[![billyct](https://avatars.githubusercontent.com/u/1612364?v=4)](https://github.com/billyct "billyct (4 commits)")[![loktarjugg](https://avatars.githubusercontent.com/u/3970144?v=4)](https://github.com/loktarjugg "loktarjugg (4 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (3 commits)")[![limingxinleo](https://avatars.githubusercontent.com/u/16648551?v=4)](https://github.com/limingxinleo "limingxinleo (3 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (2 commits)")[![0xxb](https://avatars.githubusercontent.com/u/22728201?v=4)](https://github.com/0xxb "0xxb (2 commits)")[![chenggx](https://avatars.githubusercontent.com/u/16704288?v=4)](https://github.com/chenggx "chenggx (2 commits)")[![summerblue](https://avatars.githubusercontent.com/u/324764?v=4)](https://github.com/summerblue "summerblue (2 commits)")[![yesterday679](https://avatars.githubusercontent.com/u/11986820?v=4)](https://github.com/yesterday679 "yesterday679 (1 commits)")[![aogg](https://avatars.githubusercontent.com/u/8998031?v=4)](https://github.com/aogg "aogg (1 commits)")[![augushong](https://avatars.githubusercontent.com/u/31880431?v=4)](https://github.com/augushong "augushong (1 commits)")[![dairidong](https://avatars.githubusercontent.com/u/48778797?v=4)](https://github.com/dairidong "dairidong (1 commits)")[![Hanson](https://avatars.githubusercontent.com/u/10583423?v=4)](https://github.com/Hanson "Hanson (1 commits)")[![hihuangwei](https://avatars.githubusercontent.com/u/3166799?v=4)](https://github.com/hihuangwei "hihuangwei (1 commits)")[![krissss](https://avatars.githubusercontent.com/u/10680903?v=4)](https://github.com/krissss "krissss (1 commits)")[![xinningsu](https://avatars.githubusercontent.com/u/7017728?v=4)](https://github.com/xinningsu "xinningsu (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wispx-flysystem-upyun/health.svg)

```
[![Health](https://phpackages.com/badges/wispx-flysystem-upyun/health.svg)](https://phpackages.com/packages/wispx-flysystem-upyun)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M788](/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.3M73](/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)
