PHPackages                             yiiext/imperavi-redactor-widget - 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. yiiext/imperavi-redactor-widget

ActiveLibrary[Templating &amp; Views](/categories/templating)

yiiext/imperavi-redactor-widget
===============================

Imperavi Redactor Widget for Yii

v1.3.18(9y ago)404138.2k—0%150[3 issues](https://github.com/yiiext/imperavi-redactor-widget/issues)[1 PRs](https://github.com/yiiext/imperavi-redactor-widget/pulls)4proprietaryJavaScript

Since Oct 3Pushed 9y ago90 watchersCompare

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

READMEChangelog (10)DependenciesVersions (32)Used By (4)

Imperavi Redactor Widget
========================

[](#imperavi-redactor-widget)

`ImperaviRedactorWidget` is a wrapper for [Imperavi Redactor](http://imperavi.com/redactor/), a high quality WYSIWYG editor.

Note that Imperavi Redactor itself is a proprietary commercial copyrighted software but since Yii community bought OEM license you can use it for free with both Yii 1.1.x and Yii 2.0.x.

This repository contains an extension for 1.1.x. For 2.0.x check .

Usage
-----

[](#usage)

First, import the widget class file

```
Yii::import('ext.imperavi-redactor-widget.ImperaviRedactorWidget');
```

Next, call the widget:

```
$this->widget('ImperaviRedactorWidget', array(
	// You can either use it for model attribute
	'model' => $my_model,
	'attribute' => 'my_field',

	// or just for input field
	'name' => 'my_input_name',

	// Some options, see http://imperavi.com/redactor/docs/
	'options' => array(
		'lang' => 'ru',
		'toolbar' => false,
		'iframe' => true,
		'css' => 'wym.css',
	),
));
```

Alternatively you can attach Redactor to already existing DOM element by calling:

```
$this->widget('ImperaviRedactorWidget', array(
	// The textarea selector
	'selector' => '.redactor',
	// Some options, see http://imperavi.com/redactor/docs/
	'options' => array(),
));
```

The redactor plugins plugged in with packages of resources.

```
$this->widget('ImperaviRedactorWidget', array(
	'selector' => '.redactor',
	'options' => array(
		'lang' => 'ru',
	),
	'plugins' => array(
		'fullscreen' => array(
			'js' => array('fullscreen.js',),
		),
		'clips' => array(
			// You can set base path to assets
			'basePath' => 'application.components.imperavi.my_plugin',
			// or url, basePath will be ignored.
			// Defaults is url to plugis dir from assets
			'baseUrl' => '/js/my_plugin',
			'css' => array('clips.css',),
			'js' => array('clips.js',),
			// add depends packages
			'depends' => array('imperavi-redactor',),
		),
	),
));
```

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity51

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~142 days

Total

31

Last Release

3358d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fc29e4e7068a00fe9b9db37b8aadda1db6020adcacef810461e47b99c2b150e6?d=identicon)[samdark](/maintainers/samdark)

---

Top Contributors

[![samdark](https://avatars.githubusercontent.com/u/47294?v=4)](https://github.com/samdark "samdark (55 commits)")[![slavcodev](https://avatars.githubusercontent.com/u/757721?v=4)](https://github.com/slavcodev "slavcodev (53 commits)")[![SDKiller](https://avatars.githubusercontent.com/u/2150916?v=4)](https://github.com/SDKiller "SDKiller (6 commits)")[![Green-Cat](https://avatars.githubusercontent.com/u/3328823?v=4)](https://github.com/Green-Cat "Green-Cat (2 commits)")[![bookin](https://avatars.githubusercontent.com/u/537882?v=4)](https://github.com/bookin "bookin (2 commits)")[![yupe](https://avatars.githubusercontent.com/u/668145?v=4)](https://github.com/yupe "yupe (1 commits)")[![cebe](https://avatars.githubusercontent.com/u/189796?v=4)](https://github.com/cebe "cebe (1 commits)")[![maxazan](https://avatars.githubusercontent.com/u/1333416?v=4)](https://github.com/maxazan "maxazan (1 commits)")[![puritania](https://avatars.githubusercontent.com/u/2444289?v=4)](https://github.com/puritania "puritania (1 commits)")[![alexok](https://avatars.githubusercontent.com/u/1074728?v=4)](https://github.com/alexok "alexok (1 commits)")

---

Tags

yiiwysiwygimpravi

### Embed Badge

![Health badge](/badges/yiiext-imperavi-redactor-widget/health.svg)

```
[![Health](https://phpackages.com/badges/yiiext-imperavi-redactor-widget/health.svg)](https://phpackages.com/packages/yiiext-imperavi-redactor-widget)
```

###  Alternatives

[vova07/yii2-imperavi-widget

The imperavi redactor widget for Yii 2 framework.

243979.7k40](/packages/vova07-yii2-imperavi-widget)[froala/wysiwyg-editor-php-sdk

PHP SDK for Froala WYSIWYG Editor

431.5M](/packages/froala-wysiwyg-editor-php-sdk)[ehyiah/ux-quill

Symfony UX Bundle to use Quill JS wysiwyg text editor with full and easy customisation

5868.1k2](/packages/ehyiah-ux-quill)[johnathan/nova-trumbowyg

A Laravel Nova wrapper for the Trumbowyg WYSIWYG editor

25214.0k](/packages/johnathan-nova-trumbowyg)[marqu3s/yii2-summernote

Yii2 Summernote widget. Super simple WYSIWYG editor on Bootstrap

1691.6k8](/packages/marqu3s-yii2-summernote)[ktquez/laravel-tinymce

TinyMCE editor for Laravel and Lumen Framework

2525.4k](/packages/ktquez-laravel-tinymce)

PHPackages © 2026

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