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

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vollossy/imperavi-redactor-widget
=================================

Yii widget for redactor rich text editor

0161JavaScript

Since Aug 14Pushed 12y ago1 watchersCompare

[ Source](https://github.com/vollossy/imperavi-redactor-widget)[ Packagist](https://packagist.org/packages/vollossy/imperavi-redactor-widget)[ RSS](/packages/vollossy-imperavi-redactor-widget/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

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 Yii.

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

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.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.

### Community

Maintainers

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

---

Top Contributors

[![slavcodev](https://avatars.githubusercontent.com/u/757721?v=4)](https://github.com/slavcodev "slavcodev (46 commits)")[![samdark](https://avatars.githubusercontent.com/u/47294?v=4)](https://github.com/samdark "samdark (13 commits)")[![bookin](https://avatars.githubusercontent.com/u/537882?v=4)](https://github.com/bookin "bookin (2 commits)")[![vollossy](https://avatars.githubusercontent.com/u/86642?v=4)](https://github.com/vollossy "vollossy (2 commits)")[![puritania](https://avatars.githubusercontent.com/u/2444289?v=4)](https://github.com/puritania "puritania (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)")[![alexok](https://avatars.githubusercontent.com/u/1074728?v=4)](https://github.com/alexok "alexok (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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