PHPackages                             zxbodya/yii2-tinymce - 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. [Templating &amp; Views](/categories/templating)
4. /
5. zxbodya/yii2-tinymce

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

zxbodya/yii2-tinymce
====================

Yii2 extension to use TinyMce with Compressor and FileManager

v2.0.0(10y ago)1732.9k↑102.2%9[3 issues](https://github.com/zxbodya/yii2-tinymce/issues)3MITPHP

Since Nov 16Pushed 8y ago2 watchersCompare

[ Source](https://github.com/zxbodya/yii2-tinymce)[ Packagist](https://packagist.org/packages/zxbodya/yii2-tinymce)[ RSS](/packages/zxbodya-yii2-tinymce/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (4)Used By (3)

TinyMCE integration for Yii2
============================

[](#tinymce-integration-for-yii2)

Yii2 extension to simplify tinymce wyiwyg editor usage in your application.

Extension is based on Yii 1.1 version:

Provides:

- widget
- compressor action
- stub for integration with file managers like elFinder

\##Installation The preferred way to install this extension is through [composer](https://getcomposer.org/).

Either run

`php composer.phar require --prefer-dist zxbodya/yii2-tinymce "*@dev"`

or add

`"zxbodya/yii2-tinymce": "*@dev"`

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

### Widget basic usage

[](#widget-basic-usage)

```
$form->field($model, 'content')->widget(TinyMce::className())
```

### Scripts Compressor Action

[](#scripts-compressor-action)

This can be used to optimize widget loading time.

At fist setup compressor action:

```
public function actions()
{
    return [
        'tinyMceCompressor' => [
            'class' => TinyMceCompressorAction::className(),
        ],
    ];
}
```

Next add route to configured action to widget ooptions:

```
$form->field($model, 'content')->widget(
    TinyMce::className(),
    ['compressorRoute' => 'test/tinyMceCompressor']
)
```

### ElFinder Fille manager

[](#elfinder-fille-manager)

At fisrt install `zxbodya/yii2-elfinder` extesion.

And configure connector action for it.

Next add file manager settings to widget:

```
$form->field($model, 'content')->widget(
    TinyMce::className(),
    [
        'fileManager' => [
            'class' => TinyMceElFinder::className(),
            'connectorRoute' => 'el-finder/connector',
        ],
    ]
)
```

### Spellchecker

[](#spellchecker)

TinyMce has bundled plugin for spellchecking but it requires backed to work...

You can use yandex spellchecker service.

```
$form->field($model, 'content')->widget(
    TinyMce::className(),
    ['spellcheckerUrl'=>'http://speller.yandex.net/services/tinyspell']
)
```

More info about it here:

Or you can build own spellcheking service using code provided by moxicode:

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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

3869d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f47929617cbb1dee5a095baccb865ab5e30ad7155f5b30b081b50249806593d?d=identicon)[zxbodya](/maintainers/zxbodya)

---

Top Contributors

[![zxbodya](https://avatars.githubusercontent.com/u/446117?v=4)](https://github.com/zxbodya "zxbodya (33 commits)")[![atmoz](https://avatars.githubusercontent.com/u/95689?v=4)](https://github.com/atmoz "atmoz (2 commits)")[![kwazaro](https://avatars.githubusercontent.com/u/9011218?v=4)](https://github.com/kwazaro "kwazaro (1 commits)")

---

Tags

elfindertinymceyii2yii2-extensionyii2extensionwysiwygtinymce

### Embed Badge

![Health badge](/badges/zxbodya-yii2-tinymce/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[vova07/yii2-imperavi-widget

The imperavi redactor widget for Yii 2 framework.

2441.0M40](/packages/vova07-yii2-imperavi-widget)[jodit/yii2-jodit

Jodit - awesome WYSIWYG Editor like widget for Yii2

1621.7k](/packages/jodit-yii2-jodit)

PHPackages © 2026

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