PHPackages                             liujiang/ueditor\_extend - 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. liujiang/ueditor\_extend

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

liujiang/ueditor\_extend
========================

可扩展支持阿里云OSS/七牛云

v1.0.0(6y ago)09MITPHPPHP &gt;=7.0.0

Since Nov 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/qianlimajiang/ueditor_extend)[ Packagist](https://packagist.org/packages/liujiang/ueditor_extend)[ RSS](/packages/liujiang-ueditor-extend/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

说明
==

[](#说明)

此扩展时将Ueditor富文本编辑器的PHP上传代码重新封装，可支持阿里云/七牛云上传，默认配置文件在当前扩展下的src目录中，名为Config.php。 配置可以自定义，例如tp5框架，将本配置文件内的$config数组变量复制到application/目录，记得要先新建配置文件，不要直接覆盖。 默认配置未开启云上传，需将配置文件中的oss设置为true。如果使用了云端上传功能，需要下载云上传扩展包，比如阿里云oss的aliyuncs/oss-sdk-php。

实例代码（tp5为例）
===========

[](#实例代码tp5为例)

namespace app\\admin\\controller;

use OSS\\OssClient; use OSS\\Core\\OssException; use think\\Exception; use UeditorExtend\\Ueditor as UeditorExtendUeditor;

class Ueditor extends Base { public function index() { $get = $this-&gt;request-&gt;get();

```
    $config = include(APP_PATH . '/admin/extra/ueditor.php');

    $ueditor = new UeditorExtendUeditor($get, $config);

    //如果没有开启云上传，则不用写回调函数，参数为空就好
    $res = $ueditor->upload(function ($object, $file) {
        $accessKeyId = "阿里云oss-key";
        $accessKeySecret = "阿里云密钥";
        $endpoint = "oss-cn-beijing.aliyuncs.com";

        try {
            $ossClient = new OssClient($accessKeyId, $accessKeySecret, $endpoint);
        } catch (OssException $e) {
            throw new Exception($e->getMessage());
        }

        $bucket = "test";

        try {
            $result = $ossClient->putObject($bucket, $object, $file);
        } catch (OssException $e) {
            throw new Exception($e->getMessage());
        }
        return $result['info']['url'];
    });

    return json($res);
}

```

}

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2367d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19775268?v=4)[二狗子](/maintainers/qianlimajiang)[@qianlimajiang](https://github.com/qianlimajiang)

---

Top Contributors

[![qianlimajiang](https://avatars.githubusercontent.com/u/19775268?v=4)](https://github.com/qianlimajiang "qianlimajiang (9 commits)")

### Embed Badge

![Health badge](/badges/liujiang-ueditor-extend/health.svg)

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

###  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.8M123](/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.7M61](/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)
