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

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

juchengit/upload
================

This is Jucheng Alipay model

1.1(6y ago)09Apache-2.0HTMLPHP &gt;=7.0.0

Since Sep 16Pushed 6y ago2 watchersCompare

[ Source](https://github.com/hezhijucheng/upload)[ Packagist](https://packagist.org/packages/juchengit/upload)[ Docs](http://www.jucheng01.net/)[ RSS](/packages/juchengit-upload/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (3)Used By (0)

upload
======

[](#upload)

===

大文件分段上传有进度条
-----------

[](#大文件分段上传有进度条)

安装
--

[](#安装)

### Composer

[](#composer)

upload采用composer进行安装，要使用upload功能，只需要在composer.json中添加如下依赖：

```
{
  "require": {
    "juchengit/upload": "1.*"
  }
}
```

### 手动

[](#手动)

1. 手动下载或clone最新版本upload代码
2. 把upload放入项目目录
3. `require` upload src目录下面的upload.php，即可使用，如把upload放在当前目录下，只需要:

```
require __DIR__ . "/upload/src/upload.php";
```

用法
--

[](#用法)

```
$upload_path="./upload2";//文件储存位置
$upload = new upload\Upload($_FILES['file']['tmp_name'],$_POST['blob_num'],$_POST['total_blob_num'],$_POST['file_name'],$_POST['md5_file_name'],$upload_path);

$upload->apiReturn();
```

- **前端在test文件夹中可以查看test文件**
- **效果图如下**

[![Image text](https://github.com/hezhijucheng/upload/raw/master/test/upload2/cf78a7a201de7f1c5e25d935cc0b78d0.jpg)](https://github.com/hezhijucheng/upload/blob/master/test/upload2/cf78a7a201de7f1c5e25d935cc0b78d0.jpg)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.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

Every ~0 days

Total

2

Last Release

2433d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c194f8da318d34b0300a4f7e3b3f4a29342efac2b09d3dd2e40946be4077be66?d=identicon)[hezhijucheng](/maintainers/hezhijucheng)

---

Top Contributors

[![rrrag](https://avatars.githubusercontent.com/u/20294043?v=4)](https://github.com/rrrag "rrrag (5 commits)")[![hezhijucheng](https://avatars.githubusercontent.com/u/55120720?v=4)](https://github.com/hezhijucheng "hezhijucheng (4 commits)")

---

Tags

uploadJucheng

### Embed Badge

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

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

###  Alternatives

[kartik-v/bootstrap-fileinput

An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with features for file preview for many file types, multiple selection, ajax uploads, and more.

5.4k7.9M13](/packages/kartik-v-bootstrap-fileinput)[vich/uploader-bundle

Ease file uploads attached to entities

1.9k25.9M116](/packages/vich-uploader-bundle)[oneup/uploader-bundle

This Symfony bundle provides a server implementation for handling single and multiple file uploads using either FineUploader, jQuery File Uploader, YUI3 Uploader, Uploadify, FancyUpload, MooUpload, Plupload or Dropzone. Features include chunked uploads, orphanages, Gaufrette and Flysystem support.

6066.3M27](/packages/oneup-uploader-bundle)[kartik-v/yii2-widget-fileinput

An enhanced FileInput widget for Bootstrap 3.x, 4.x &amp; 5.x with file preview, multiple selection, and more features (sub repo split from yii2-widgets)

2286.8M95](/packages/kartik-v-yii2-widget-fileinput)[ecodev/graphql-upload

A middleware to support file uploads in GraphQL

902.2M12](/packages/ecodev-graphql-upload)[marrouchi/upload-crop-image-bundle

Basic server side cropping behavior for Symfony2

121.1k](/packages/marrouchi-upload-crop-image-bundle)

PHPackages © 2026

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