PHPackages                             s4studio/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. s4studio/yii2-redactor

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

s4studio/yii2-redactor
======================

Extension redactor for Yii2 Framework.

2.2.2(3mo ago)05BSD-3-ClauseJavaScript

Since Jan 29Pushed 3mo agoCompare

[ Source](https://github.com/s4studio/yii2-redactor)[ Packagist](https://packagist.org/packages/s4studio/yii2-redactor)[ RSS](/packages/s4studio-yii2-redactor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)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 s4studio/yii2-redactor "*"

```

or

```
 "s4studio/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' => 's4studio\redactor\RedactorModule',
    ],

```

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

```
    'modules' => [
        'redactor' => [
            'class' => 's4studio\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/s4studio/yii2-redactor/issues)

Thanks!

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance81

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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 ~0 days

Total

3

Last Release

102d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1bb0203a0513468d82ada30651fe5a49e4ed2a11276652e6e9e63636144d873c?d=identicon)[ekawalec](/maintainers/ekawalec)

---

Top Contributors

[![zinzinday](https://avatars.githubusercontent.com/u/441560?v=4)](https://github.com/zinzinday "zinzinday (33 commits)")[![ekawalec](https://avatars.githubusercontent.com/u/9531269?v=4)](https://github.com/ekawalec "ekawalec (3 commits)")[![alexantr](https://avatars.githubusercontent.com/u/4941848?v=4)](https://github.com/alexantr "alexantr (2 commits)")[![Alez](https://avatars.githubusercontent.com/u/552143?v=4)](https://github.com/Alez "Alez (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/s4studio-yii2-redactor/health.svg)

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

###  Alternatives

[yiidoc/yii2-redactor

Extension redactor for Yii2 Framework.

191618.8k47](/packages/yiidoc-yii2-redactor)[vova07/yii2-imperavi-widget

The imperavi redactor widget for Yii 2 framework.

243979.7k40](/packages/vova07-yii2-imperavi-widget)[bizley/contenttools

ContentTools editor implementation for Yii 2.

8016.7k](/packages/bizley-contenttools)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[jodit/yii2-jodit

Jodit - awesome WYSIWYG Editor like widget for Yii2

1621.5k](/packages/jodit-yii2-jodit)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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