PHPackages                             muxinchao/uploadfileforphp - 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. muxinchao/uploadfileforphp

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

muxinchao/uploadfileforphp
==========================

PHP文件上传

03PHP

Since Oct 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/muxinchao/uploadfileforphp)[ Packagist](https://packagist.org/packages/muxinchao/uploadfileforphp)[ RSS](/packages/muxinchao-uploadfileforphp/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

uploadfileforphp
================

[](#uploadfileforphp)

配置
--

[](#配置)

```
1.uploadfileforphp/config/default.php

2.allow_exts:允许上传文件后缀数组。

3.path:上传文件保存位置，确保你的项目根目录要有写的权限

```

使用
--

[](#使用)

1.安装包

```
$ composer require muxinchao/uploadfileforphp:dev-master

```

2.在项目中使用

```
use Muxinchao;

$file = $_FILES;

$obj = new Upload();

$res = $obj->upload($file);

var_dump($res);

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c23dde8f5be1a7b8243cceb112a8cdf689bba61193149363fc98229d9c7bc3c?d=identicon)[muxinchao](/maintainers/muxinchao)

---

Top Contributors

[![muxinchao](https://avatars.githubusercontent.com/u/18606015?v=4)](https://github.com/muxinchao "muxinchao (1 commits)")

### Embed Badge

![Health badge](/badges/muxinchao-uploadfileforphp/health.svg)

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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