PHPackages                             jims/editor-hub-bundle - 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. jims/editor-hub-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

jims/editor-hub-bundle
======================

ueditor and umeditor for Symfony 3/4.

v2.0.4(7y ago)101492[1 PRs](https://github.com/askuiop/JimsEditorHubBundle/pulls)1MITPHPPHP ^5.3.3|^7.0

Since Jul 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/askuiop/JimsEditorHubBundle)[ Packagist](https://packagist.org/packages/jims/editor-hub-bundle)[ RSS](/packages/jims-editor-hub-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (5)Versions (16)Used By (1)

JimsEditorHubBundle
===================

[](#jimseditorhubbundle)

ueditor and umeditor for Symfony 3.4 / 4. 为方便使用和学习而整合了ueditor 和 umeditor ，编辑器本身未改动多少以免带来混乱和轮子。 关于ueditor 的相关配置请参考官方文档。

安装
--

[](#安装)

symfony &lt;= 3.3 请使用 1.0 版本

1.Step 1 composer 安装

```
composer require "jims/editor-hub-bundle:^2.0"

```

或者

```
{
    "require": {
       "jims/editor-hub-bundle": "^2.0"
    }
}

```

2.Step 2 添加到config/bundles.php 同时更新资源

```
// config/bundles.php

Jims\EditorHubBundle\JimsEditorHubBundle::class => ['all' => true],

//then update assets 更新资源:

bin/console assets:install public --symlink   #sf3
```

3.Step 3 Import routes to config/routes.yaml

```
// config/routes.yaml
jims_editor:
  resource: "@JimsEditorHubBundle/Resources/config/routing.yml"
  prefix:   /
```

4.Step 4 添加设置bundle 配置 于 config/packages/framework.yaml

```
//config/packages/framework.yaml
jims_editor_hub:
  ueditor:
      config_file: ~       #ueditor 的 配置文件的 默认文件： "bundle路径"+Resources/config/config.json
  umeditor:
      save_path:    "upload/umeditor/"                                  #存储文件夹
      max_size:     2000                                                #允许的文件最大尺寸，单位KB
      allow_files:  [ ".gif" , ".png" , ".jpg" , ".jpeg" , ".bmp" ]     #允许的文件格式
```

使用方法
----

[](#使用方法)

```
  use Jims\EditorHubBundle\Form\UeditorType;
  use Jims\EditorHubBundle\Form\UmeditorType;
  ...
  ...
    #使用ueditor
    ->add('content', UeditorType::class, array(
          "attr" => array(
              "style" => "height:400px;width:600px;", //editor转换成编辑器编辑空间尺寸
              "class"=>"jims",
          ),
          //通过自定义js, 控制editor toolbars
          'js_script' => "window.UEDITOR_CONFIG.toolbars=[['fullscreen', 'source', 'undo', 'redo', 'bold']]",
      ))
      #使用umeditor
      //->add('content', UmeditorType::class, array(
      //    "attr" => array(
      //        "style" => "width:555px;",
      //        "class"=>"jims",
      //    ),
      //))
```

### 效果

[](#效果)

[![umeditor](https://camo.githubusercontent.com/e062c5f8510ad526a0dd86c3f2509f945f5e323e3d680e26ec1d037b52fe6813/68747470733a2f2f692e6c6f6c692e6e65742f323031392f30342f32362f356363323739323430396334322e706e67)](https://camo.githubusercontent.com/e062c5f8510ad526a0dd86c3f2509f945f5e323e3d680e26ec1d037b52fe6813/68747470733a2f2f692e6c6f6c692e6e65742f323031392f30342f32362f356363323739323430396334322e706e67)[![ueditor](https://camo.githubusercontent.com/1f2093c9e56017d9d81402047160c013d14adffdbe9f93bec5508b1620d71048/68747470733a2f2f692e6c6f6c692e6e65742f323031392f30342f32362f356363323739323438383338322e706e67)](https://camo.githubusercontent.com/1f2093c9e56017d9d81402047160c013d14adffdbe9f93bec5508b1620d71048/68747470733a2f2f692e6c6f6c692e6e65742f323031392f30342f32362f356363323739323438383338322e706e67)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

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 ~73 days

Recently: every ~0 days

Total

15

Last Release

2622d ago

Major Versions

v0.0.1 → v1.0.02016-07-03

v1.0.7 → v2.02019-04-25

1.0.x-dev → v2.0.12019-04-25

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11253886?v=4)[askuiop](/maintainers/askuiop)[@askuiop](https://github.com/askuiop)

---

Top Contributors

[![askuiop](https://avatars.githubusercontent.com/u/11253886?v=4)](https://github.com/askuiop "askuiop (8 commits)")

---

Tags

umeditoreditorueditor

### Embed Badge

![Health badge](/badges/jims-editor-hub-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/jims-editor-hub-bundle/health.svg)](https://phpackages.com/packages/jims-editor-hub-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3691.3k16](/packages/netgen-layouts-core)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14114.1k13](/packages/netgen-content-browser)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)[chameleon-system/chameleon-base

The Chameleon System core.

1027.9k4](/packages/chameleon-system-chameleon-base)[yceruto/formflow-bundle

Create and manage multistep forms

2414.8k](/packages/yceruto-formflow-bundle)

PHPackages © 2026

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