PHPackages                             hyperf-wgy/upload - 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. hyperf-wgy/upload

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

hyperf-wgy/upload
=================

hyperf upload

v3.0.4(2y ago)2463MITPHPPHP &gt;=8.0

Since Nov 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/wanggaoyang-zz/hyperf-upload)[ Packagist](https://packagist.org/packages/hyperf-wgy/upload)[ RSS](/packages/hyperf-wgy-upload/feed)WikiDiscussions main Synced 1w ago

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

hyperf-upload
=============

[](#hyperf-upload)

- 安装 composer require hyperf-wgy/upload
- 发布 php bin/hyperf.php vendor:publish hyperf-wgy/upload
- 上传配置：upload.php 上传驱动 disk 目前仅支持 local or oss

[![image](https://user-images.githubusercontent.com/83255932/140857030-3baacb2e-b233-4834-8c97-71c62e47a327.png)](https://user-images.githubusercontent.com/83255932/140857030-3baacb2e-b233-4834-8c97-71c62e47a327.png)

- 文件配置：file.php 使用方式和hyperf上传模块一致
- 异常处理：在AppExceptionHandler中增加; 具体代码在hyperf文档异常模块

[![image](https://user-images.githubusercontent.com/83255932/140857388-d1819dc9-bdd1-486a-b81c-9b4a7aec0d53.png)](https://user-images.githubusercontent.com/83255932/140857388-d1819dc9-bdd1-486a-b81c-9b4a7aec0d53.png)

- 注意：local驱动 保证目录具有权限
- 使用：支持文件和图片上传
- POST {{host}}/upload/file 参数：file
- POST {{host}}/upload/image 参数：file

[![image](https://user-images.githubusercontent.com/83255932/140864174-df417c8e-9305-4ed0-8d14-cc44495ab088.png)](https://user-images.githubusercontent.com/83255932/140864174-df417c8e-9305-4ed0-8d14-cc44495ab088.png)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 76.9% 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 ~84 days

Recently: every ~189 days

Total

10

Last Release

888d ago

Major Versions

v1.1.2 → v3.0.02023-12-06

PHP version history (2 changes)v1.0.1PHP &gt;=7.4

v3.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4942e3e7f239b67b874d53f3e891e45e1e60523a0fe6b8c5b9df18121e88ed70?d=identicon)[wanggaoyang-zz](/maintainers/wanggaoyang-zz)

---

Top Contributors

[![wanggaoyang-zz](https://avatars.githubusercontent.com/u/83255932?v=4)](https://github.com/wanggaoyang-zz "wanggaoyang-zz (10 commits)")[![Incomplete70](https://avatars.githubusercontent.com/u/64241207?v=4)](https://github.com/Incomplete70 "Incomplete70 (3 commits)")

---

Tags

phpuploadhyperf

### Embed Badge

![Health badge](/badges/hyperf-wgy-upload/health.svg)

```
[![Health](https://phpackages.com/badges/hyperf-wgy-upload/health.svg)](https://phpackages.com/packages/hyperf-wgy-upload)
```

###  Alternatives

[blueimp/jquery-file-upload

File Upload widget for jQuery.

141.5M18](/packages/blueimp-jquery-file-upload)

PHPackages © 2026

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