PHPackages                             hahadu/think-ueditor - 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. hahadu/think-ueditor

ActiveThink-extend[Utility &amp; Helpers](/categories/utility)

hahadu/think-ueditor
====================

v1.1.0(5y ago)295[1 issues](https://github.com/hahadu/think-ueditor/issues)1Apache-2.0PHPPHP &gt;=7.1

Since Nov 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hahadu/think-ueditor)[ Packagist](https://packagist.org/packages/hahadu/think-ueditor)[ RSS](/packages/hahadu-think-ueditor/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (9)Used By (1)

think-ueditor
=============

[](#think-ueditor)

thinkphp6-ueditor文件上传模块

\###安装

\####先决条件 必须安装thinkphp6

\####安装 composer require hahadu/think-ueditor

### 使用：

[](#使用)

```
//在当前控制器或者公共控制器中
    public function ueditor(){
        $ueditor = new ThinkUeditor();
        return $ueditor->ueditor(); //如果tp开发模式编辑器提示配置错误，可以尝试下面这一行
        //echo $ueditor->ueditor();die;
    }
//或者使用便捷函数ueditor()
    public function ueditor(){
        return ueditor();
    }
```

然后模板文件：

```

var ue = UE.getEditor("container",{
initialFrameHeight:500,
allowDivTransToP: false,
serverUrl : "{:url('ueditor')}",//路由地址
});

```

#### 配置：

[](#配置)

在系统config配置文件夹中配置ueditor编辑器和水印文件

> config
>
> > ueditor.php //编辑器配置文件 water.php //水印配置文件

详情参考config目录下ueditor.php和water.php

#### 鸣谢

[](#鸣谢)

> [hahadu/image-factory](https://github.com/hahadu/image-factory) 提供的图像处理模块
>
> [hahadu/helper-function](https://github.com/hahadu/helper-function) 一些助手函数
>
> [hahadu/think-helper](https://github.com/hahadu/think-helper) 另外一些助手函数

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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

Every ~15 days

Recently: every ~26 days

Total

8

Last Release

1904d ago

Major Versions

v0.0.2 → v1.0.02020-11-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/8803f4b62a77e88a2b14f57d7d68a5bacaa69fd8c58b17101e89044fab8abb27?d=identicon)[hahadu](/maintainers/hahadu)

---

Top Contributors

[![hahadu](https://avatars.githubusercontent.com/u/38153732?v=4)](https://github.com/hahadu "hahadu (20 commits)")

### Embed Badge

![Health badge](/badges/hahadu-think-ueditor/health.svg)

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

###  Alternatives

[log1x/acf-composer

Create fields, blocks, option pages, and widgets using ACF Builder and Sage 10

493760.2k13](/packages/log1x-acf-composer)[markrogoyski/ipv4-subnet-calculator

Network calculator for subnet mask and other classless (CIDR) network information.

177813.7k6](/packages/markrogoyski-ipv4-subnet-calculator)[b13/menus

Easy and fast menus for TYPO3 Frontends

58534.7k1](/packages/b13-menus)[hfig/mapi

Pure PHP library for reading and manipulating Microsoft Outlook .msg messages (MAPI documents)

40420.9k2](/packages/hfig-mapi)

PHPackages © 2026

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