PHPackages                             lkwfive/yii2-redactor - 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. lkwfive/yii2-redactor

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

lkwfive/yii2-redactor
=====================

Extension redactor for Yii2 Framework.

2.0.3(4y ago)013BSD-3-ClauseJavaScript

Since Jan 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/lkwfive/yii2-redactor)[ Packagist](https://packagist.org/packages/lkwfive/yii2-redactor)[ RSS](/packages/lkwfive-yii2-redactor/feed)WikiDiscussions master Synced today

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

yii2-redactor
=============

[](#yii2-redactor)

Extension redactor for Yii2 Framework.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist lkwfive/yii2-redactor "*"

```

or

```
 "lkwfive/yii2-redactor": "*"

```

to the require section of your composer.json.

Configure
---------

[](#configure)

Add to config file (config/web.php or common\\config\\main.php)

```
    'modules' => [
        'redactor' => 'yii\redactor\RedactorModule',
    ],

```

or if you want to change the upload directory. to path/to/uploadfolder default value `@webroot/uploads`

```
    'modules' => [
        'redactor' => [
            'class' => 'yii\redactor\RedactorModule',
            'uploadDir' => '@webroot/path/to/uploadfolder',
            'uploadUrl' => '@web/path/to/uploadfolder',
            'imageAllowExtensions'=>['jpg','png','gif']
        ],
    ],

```

note: You need to create uploads folder and chmod and set security for folder upload reference: [Protect Your Uploads Folder with .htaccess](http://tomolivercv.wordpress.com/2011/07/24/protect-your-uploads-folder-with-htaccess/), [How to Setup Secure Media Uploads](http://digwp.com/2012/09/secure-media-uploads/)

Config view/form

```

```

or not use ActiveField

```

```

or config advanced redactor reference [Docs](http://imperavi.com/redactor/docs/)

```

```

Bummer! i was tested on my project but not have many time to write document on file and usage. If you have problem please create a [issue](https://github.com/lkwfive/yii2-redactor/issues)

Thanks!

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 73.3% 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 ~882 days

Total

4

Last Release

1489d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c125de6b25c25d1bbdc934dfcf27fd822c6bd7e1ba9a297aa9ca7f4f49a90fe?d=identicon)[lkwfive](/maintainers/lkwfive)

---

Top Contributors

[![zinzinday](https://avatars.githubusercontent.com/u/441560?v=4)](https://github.com/zinzinday "zinzinday (33 commits)")[![lkwfive](https://avatars.githubusercontent.com/u/2425479?v=4)](https://github.com/lkwfive "lkwfive (4 commits)")[![Alez](https://avatars.githubusercontent.com/u/552143?v=4)](https://github.com/Alez "Alez (2 commits)")[![alexantr](https://avatars.githubusercontent.com/u/4941848?v=4)](https://github.com/alexantr "alexantr (2 commits)")[![halfling-rram](https://avatars.githubusercontent.com/u/7976161?v=4)](https://github.com/halfling-rram "halfling-rram (1 commits)")[![mklemarczyk](https://avatars.githubusercontent.com/u/2727261?v=4)](https://github.com/mklemarczyk "mklemarczyk (1 commits)")[![Rjgoolsby](https://avatars.githubusercontent.com/u/10386821?v=4)](https://github.com/Rjgoolsby "Rjgoolsby (1 commits)")[![Alex-Bond](https://avatars.githubusercontent.com/u/1134715?v=4)](https://github.com/Alex-Bond "Alex-Bond (1 commits)")

---

Tags

yii2extensionwysiwygRedactorimperavihtml editor

### Embed Badge

![Health badge](/badges/lkwfive-yii2-redactor/health.svg)

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

###  Alternatives

[vova07/yii2-imperavi-widget

The imperavi redactor widget for Yii 2 framework.

243979.7k40](/packages/vova07-yii2-imperavi-widget)[yiidoc/yii2-redactor

Extension redactor for Yii2 Framework.

191618.8k47](/packages/yiidoc-yii2-redactor)[jodit/yii2-jodit

Jodit - awesome WYSIWYG Editor like widget for Yii2

1621.5k](/packages/jodit-yii2-jodit)[zxbodya/yii2-tinymce

Yii2 extension to use TinyMce with Compressor and FileManager

1732.1k3](/packages/zxbodya-yii2-tinymce)

PHPackages © 2026

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