PHPackages                             vvk/upyun-filesystem - 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. vvk/upyun-filesystem

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

vvk/upyun-filesystem
====================

This is upyun system file for Laravel!

1.0.0(6y ago)317MITPHPPHP ^7.2

Since Jan 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/vvk/upyun-filesystem)[ Packagist](https://packagist.org/packages/vvk/upyun-filesystem)[ RSS](/packages/vvk-upyun-filesystem/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (3)Used By (0)

Laravel 又拍云驱动
=============

[](#laravel-又拍云驱动)

[![Latest Stable Version](https://camo.githubusercontent.com/bb925f16462c96614b2a494bc9c8cf2a70a8c07ddc00fb885618378f0f14293b/68747470733a2f2f706f7365722e707567782e6f72672f76766b2f757079756e2d66696c6573797374656d2f762f737461626c65)](https://packagist.org/packages/vvk/upyun-filesystem)[![Total Downloads](https://camo.githubusercontent.com/ab5ee43d7762ea3e358aa83f0ec28c5af28660d4f0bfaa2feb8c5aff3b8ac257/68747470733a2f2f706f7365722e707567782e6f72672f76766b2f757079756e2d66696c6573797374656d2f646f776e6c6f616473)](https://packagist.org/packages/vvk/upyun-filesystem)[![Latest Unstable Version](https://camo.githubusercontent.com/b88a611028909451b50f9afafb239b00ae0b0fc8325a558bb883b2557de21789/68747470733a2f2f706f7365722e707567782e6f72672f76766b2f757079756e2d66696c6573797374656d2f762f756e737461626c65)](https://packagist.org/packages/vvk/upyun-filesystem)[![License](https://camo.githubusercontent.com/f92c18857f0f49ef941023cb84da8c54768c5717c18d1b78f1c0e344cafbc57b/68747470733a2f2f706f7365722e707567782e6f72672f76766b2f757079756e2d66696c6573797374656d2f6c6963656e7365)](https://packagist.org/packages/vvk/upyun-filesystem)

环境要求
----

[](#环境要求)

- php &gt;= 7.2

安装
--

[](#安装)

通过 `cpomoser` 命令安装：

```
$ composer require vvk/upyun-filesystem

```

使用
--

[](#使用)

1. 在`config/filesystems.php` 中添加又又拍云驱动相关账号配置：

```
'disks' => [
    ...
    'upyun' => [
        'driver' => 'upyun',
        'service' => env('UPYUN_SERVICE', ''),
        'operator' => env('UPYUN_OPERATOR', ''),
        'password' => env('UPYUN_PASSWORD', ''),
        'domain' => env('UPYUN_DOMAIND', ''),
    ],
],
```

2. 目前支持的方法有：

```
Storage::disk('upyun')->has('a.png');
Storage::disk('upyun')->get('a.png');
Storage::disk('upyun')->write('a.png', file_get_contents('a.png'));
Storage::disk('upyun')->writeStream('a.png', fopen('path/a.png', 'r'));
Storage::disk('upyun')->update('a.png', file_get_contents('a.png'));
Storage::disk('upyun')->updateStram('a.png', file_get_contents('a.png'));
Storage::disk('upyun')->rename('old.png', 'new.png');
Storage::disk('upyun')->copy('a.png', 'new.png');
Storage::disk('upyun')->delete('a.png');
Storage::disk('upyun')->deleteDir('/a');//非空目录不能删除
Storage::disk('upyun')->createDir('/a/b/c');
Storage::disk('upyun')->read('a.png');
Storage::disk('upyun')->readStream('a.png');
Storage::disk('upyun')->listContents('/');
Storage::disk('upyun')->getUrl('/a.png');
Storage::disk('upyun')->getType('/a.png');
Storage::disk('upyun')->getMetadata('/a.png');
Storage::disk('upyun')->getSize('/a.png');
Storage::disk('upyun')->getMimetype('/a.png');
Storage::disk('upyun')->getTimestamp('/a.png');
```

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

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

2301d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63f588edb0e35e288df88532e5715e0d4cbd470e14712ef3fc760f50f41e81dc?d=identicon)[sunwq](/maintainers/sunwq)

---

Top Contributors

[![vvk](https://avatars.githubusercontent.com/u/8386095?v=4)](https://github.com/vvk "vvk (9 commits)")

---

Tags

filesystemlaravelupyunlaravelupyun

### Embed Badge

![Health badge](/badges/vvk-upyun-filesystem/health.svg)

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

###  Alternatives

[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)[masbug/flysystem-google-drive-ext

Flysystem adapter for Google Drive with seamless virtual&lt;=&gt;display path translation

2631.7M14](/packages/masbug-flysystem-google-drive-ext)[yangyifan/upload

上传 SDK for Laravel

12422.6k3](/packages/yangyifan-upload)[jerodev/flysystem-v3-smb-adapter

SMB adapter for Flysystem v3

1289.9k1](/packages/jerodev-flysystem-v3-smb-adapter)[yoelpc4/laravel-cloudinary

Laravel Cloudinary filesystem cloud driver.

3343.0k](/packages/yoelpc4-laravel-cloudinary)

PHPackages © 2026

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