PHPackages                             yidashi/yii2-webuploader - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yidashi/yii2-webuploader

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yidashi/yii2-webuploader
========================

yii2-webuploader

v1.4.2(9y ago)111.1k3[1 issues](https://github.com/yidashi/yii2-webuploader/issues)JavaScriptPHP &gt;=5.4.0

Since Apr 14Pushed 9y ago2 watchersCompare

[ Source](https://github.com/yidashi/yii2-webuploader)[ Packagist](https://packagist.org/packages/yidashi/yii2-webuploader)[ RSS](/packages/yidashi-yii2-webuploader/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (12)Used By (0)

1.安装
----

[](#1安装)

```
composer require yidashi/yii2-webuploader:"*"

```

2.使用
----

[](#2使用)

需要两个别名

a.`@static` 访问上传图片的域名,默认`@web/static`

b.`@staticroot` 图片保存路径,默认`@webroot/static`

> 直接使用

```

```

> 或者在activeForm里使用

```

```

options非必填

默认使用site/webuploader处理上传逻辑，siteController需要添加

```
public function actions()
{
    return [
        'webupload' => 'yidashi\webuploader\Action'
    ];
}

```

如果需要使用自己的上传程序处理需添加server属性

```

```

> 带裁剪功能

`yidashi\webuploader\Webuploader` 替换成 `yidashi\webuploader\Cropper`

写的很烂,凑合能用

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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

Every ~9 days

Recently: every ~2 days

Total

11

Last Release

3639d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10334503?v=4)[易大师](/maintainers/yidashi)[@yidashi](https://github.com/yidashi)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/yidashi-yii2-webuploader/health.svg)

```
[![Health](https://phpackages.com/badges/yidashi-yii2-webuploader/health.svg)](https://phpackages.com/packages/yidashi-yii2-webuploader)
```

PHPackages © 2026

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