PHPackages                             nickbai/ueditor-thinkphp - 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. nickbai/ueditor-thinkphp

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

nickbai/ueditor-thinkphp
========================

Ueditor upload file SDK for ThinkPHP

v1.03(5y ago)0149MITPHPPHP &gt;=5.5.0

Since Apr 18Pushed 5y agoCompare

[ Source](https://github.com/nick-bai/ueditor-thinkphp)[ Packagist](https://packagist.org/packages/nickbai/ueditor-thinkphp)[ Docs](http://ueditor.baidu.com/website/)[ RSS](/packages/nickbai-ueditor-thinkphp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

百度UEditor 上传插件包使用说明 Composer 安装：
composer require tanzhenxing/ueditor-thinkphp

UEditor php 上传文件封装
==================

[](#ueditor-php-上传文件封装)

### 使用：

[](#使用)

```
use Ueditor\Ueditor;

$ueditor = new Ueditor();

switch ($action) {
	case 'config':
        $result = $ueditor->getConfig();
        break;

    /* 上传图片 */
    case 'uploadimage':
    	$result = $ueditor->uploadImage()->saveImage();
    	break;
    /* 上传涂鸦 */
    case 'uploadscrawl':
    	$result = $ueditor->uploadImage()->saveScrawl();
    	break;
    /* 上传视频 */
    case 'uploadvideo':
    	$result = $ueditor->uploadImage()->saveVideo();
    	break;
    /* 上传文件 */
    case 'uploadfile':
        $result = $ueditor->uploadImage()->saveFile();
        break;

    /* 列出图片 */
    case 'listimage':
    	$start = array_get($params, 'start');
    	$size = array_get($params, 'size');
        $result = $ueditor->listImage()->getListImage($start, $size);
        break;
    /* 列出文件 */
    case 'listfile':
    	$start = array_get($params, 'start');
    	$size = array_get($params, 'size');
        $result = $ueditor->listFile()->getListFile($start, $size);
        break;

    /* 抓取远程文件 */
    case 'catchimage':
        $result = $ueditor->catchImage()->crawlerImage();
        break;

    default:
        $result = [
            'state'=> '请求地址出错'
        ];
        break;
}

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~510 days

Total

3

Last Release

1929d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b331fe002d6a8b54e4e8eba566f86213d3bce2b11c7d317a920fcfe7248e490?d=identicon)[nick-bai](/maintainers/nick-bai)

---

Top Contributors

[![tanzhenxing](https://avatars.githubusercontent.com/u/11799226?v=4)](https://github.com/tanzhenxing "tanzhenxing (21 commits)")[![nick-bai](https://avatars.githubusercontent.com/u/16068782?v=4)](https://github.com/nick-bai "nick-bai (3 commits)")

---

Tags

uploadueditorthinkphp

### Embed Badge

![Health badge](/badges/nickbai-ueditor-thinkphp/health.svg)

```
[![Health](https://phpackages.com/badges/nickbai-ueditor-thinkphp/health.svg)](https://phpackages.com/packages/nickbai-ueditor-thinkphp)
```

###  Alternatives

[vich/uploader-bundle

Ease file uploads attached to entities

1.9k25.9M116](/packages/vich-uploader-bundle)[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)
