PHPackages                             mykolakrykunov/yii2-ckeditor-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. mykolakrykunov/yii2-ckeditor-widget

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

mykolakrykunov/yii2-ckeditor-widget
===================================

CKEditor widget for Yii2.

1.0.6(9y ago)045BSD-3-ClauseJavaScript

Since Mar 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/MykolaKrykunov/yii2-ckeditor-widget)[ Packagist](https://packagist.org/packages/mykolakrykunov/yii2-ckeditor-widget)[ Docs](http://yiiwheels.com/extension/ckeditor-widget)[ RSS](/packages/mykolakrykunov-yii2-ckeditor-widget/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (10)Used By (0)

CKEditor Widget for Yii2
========================

[](#ckeditor-widget-for-yii2)

[![Latest Version](https://camo.githubusercontent.com/c3508cb9ea68ec62007dd688785379e6bd74c5cf642fce6f1bc569cefbdc7f91/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f32616d69676f732f796969322d636b656469746f722d7769646765742e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://github.com/2amigos/yii2-ckeditor-widget/tags)[![Software License](https://camo.githubusercontent.com/b60331a2084501dc07cf6d6964c0da58dd005d89c45cf3b28b4b22b60f5ec00f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/dfcb928f64391f5890f0e259c13685d76999db4aa734051519b7172351f1b8d5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f32616d69676f732f796969322d636b656469746f722d7769646765742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/2amigos/yii2-ckeditor-widget)[![Coverage Status](https://camo.githubusercontent.com/5e70dcb9f504535d0122fe18c7996b49930144d2127cf888135edc9b6173f2eb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f32616d69676f732f796969322d636b656469746f722d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/2amigos/yii2-ckeditor-widget/code-structure)[![Quality Score](https://camo.githubusercontent.com/8472ab70aa51bfad2730d957237fdf711a2b9c87e7c2affd7f723ebdbc71ff95/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f32616d69676f732f796969322d636b656469746f722d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/2amigos/yii2-ckeditor-widget)[![Total Downloads](https://camo.githubusercontent.com/bd7b8fbd1d373936d44cdc25d3c3e311f38391838d839dc9045df9251bdcb171/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f32616d69676f732f796969322d636b656469746f722d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/2amigos/yii2-ckeditor-widget)

Renders a [CKEditor WYSIWYG text editor plugin](http://www.ckeditor.com) widget.

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

[](#installation)

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

Either run

```
composer require 2amigos/yii2-ckeditor-widget:~1.0

```

or add

```
"2amigos/yii2-ckeditor-widget" : "~1.0"
```

to the require section of your application's `composer.json` file.

Skins &amp; Plugins
-------------------

[](#skins--plugins)

This widget works with default's `dev-full/stable` branch of CKEditor, with a set of plugins and skins. If you wish to configure a different skins or plugins that the one proposed, you will have to download them separately and configure the widget's `clientOptions` attribute accordingly.

Usage
-----

[](#usage)

The library comes with two widgets: `CKEditor` and `CKEditorInline`. One is for classic edition and the other for inline editing respectively.

Using a model with a basic preset:

```

use dosamigos\ckeditor\CKEditor;

```

Using inline edition with basic preset:

```

use dosamigos\ckeditor\CKEditorInline;

    This text can be edited now :)

```

Testing
-------

[](#testing)

To test the extension, is better to clone this repository on your computer. After, go to the extensions folder and do the following (assuming you have `composer` installed on your computer):

```
$ composer install --no-interaction --prefer-source --dev
```

Once all required libraries are installed then do:

```
$ vendor/bin/phpunit
```

Further Information
-------------------

[](#further-information)

Please, check the [CKEditor plugin site](http://www.ckeditor.com) documentation for further information about its configuration options.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Antonio Ramirez](https://github.com/tonydspaniard)
- [All Contributors](../../contributors)

License
-------

[](#license)

The BSD License (BSD). Please see [License File](LICENSE.md) for more information.

> [![2amigOS!](https://camo.githubusercontent.com/9fd8f1de41dc23003bb2a54034cb6658dde5be97092e195a62d629d0d7fa7f6c/687474703a2f2f7777772e67726176617461722e636f6d2f6176617461722f35353336333339346437323934356666376564333132353536656330343165302e706e67)](http://www.2amigos.us)
> *Web development has never been so fun!*
> [www.2amigos.us](http://www.2amigos.us)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 58.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 ~125 days

Recently: every ~158 days

Total

9

Last Release

3493d ago

Major Versions

0.1.1 → 1.0.02015-03-02

### Community

Maintainers

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

---

Top Contributors

[![creocoder](https://avatars.githubusercontent.com/u/896494?v=4)](https://github.com/creocoder "creocoder (7 commits)")[![muhammadcahya](https://avatars.githubusercontent.com/u/4241620?v=4)](https://github.com/muhammadcahya "muhammadcahya (2 commits)")[![fork12](https://avatars.githubusercontent.com/u/8247532?v=4)](https://github.com/fork12 "fork12 (1 commits)")[![schmunk42](https://avatars.githubusercontent.com/u/649031?v=4)](https://github.com/schmunk42 "schmunk42 (1 commits)")[![vstaheev](https://avatars.githubusercontent.com/u/1925328?v=4)](https://github.com/vstaheev "vstaheev (1 commits)")

---

Tags

yii2extensionwidgetyiiCKEditoryii 22amigos

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mykolakrykunov-yii2-ckeditor-widget/health.svg)

```
[![Health](https://phpackages.com/badges/mykolakrykunov-yii2-ckeditor-widget/health.svg)](https://phpackages.com/packages/mykolakrykunov-yii2-ckeditor-widget)
```

###  Alternatives

[vova07/yii2-imperavi-widget

The imperavi redactor widget for Yii 2 framework.

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

PHPackages © 2026

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