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

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

itstructure/yii2-ckeditor
=========================

CKEditor widget for Yii2 Framework

1.1.7(7mo ago)421.6k↓39.1%21MITPHPPHP &gt;=7.1.0CI failing

Since Feb 4Pushed 7mo agoCompare

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

READMEChangelog (5)Dependencies (2)Versions (11)Used By (1)

Yii2 CKEditor widget
====================

[](#yii2-ckeditor-widget)

Introduction
------------

[](#introduction)

[![Latest Stable Version](https://camo.githubusercontent.com/033fa0278c1968202a26817da9907752c03c2c4c3df064f71c6c5846287ef228/68747470733a2f2f706f7365722e707567782e6f72672f69747374727563747572652f796969322d636b656469746f722f762f737461626c65)](https://packagist.org/packages/itstructure/yii2-ckeditor)[![Latest Unstable Version](https://camo.githubusercontent.com/1ef7f72458a7ea6536bfe90b03c13bc3218fe44b125db341c2594247c66a0166/68747470733a2f2f706f7365722e707567782e6f72672f69747374727563747572652f796969322d636b656469746f722f762f756e737461626c65)](https://packagist.org/packages/itstructure/yii2-ckeditor)[![License](https://camo.githubusercontent.com/e781d810b23fa3bfa1709526033cb832b296075742725c4afeda4b90dfb76d70/68747470733a2f2f706f7365722e707567782e6f72672f69747374727563747572652f796969322d636b656469746f722f6c6963656e7365)](https://packagist.org/packages/itstructure/yii2-ckeditor)[![Total Downloads](https://camo.githubusercontent.com/724c373bf989049fc3733d49223ecc05e182872aa73e910a1d1192a73e26fe1a/68747470733a2f2f706f7365722e707567782e6f72672f69747374727563747572652f796969322d636b656469746f722f646f776e6c6f616473)](https://packagist.org/packages/itstructure/yii2-ckeditor)[![Build Status](https://camo.githubusercontent.com/39f5a47e1cae79cd335f5271338bfa7e76e8eae60741790cb7bbc40722cae653/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f69747374727563747572652f796969322d636b656469746f722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/itstructure/yii2-ckeditor/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/0107033830fe270cf53cb40eb6f996d6c9d2afefb9accecb437adfe58a61467d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f69747374727563747572652f796969322d636b656469746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/itstructure/yii2-ckeditor/?branch=master)

This is a **CKEditor** widget for the Yii2 v2.0.x framework with [CKEditor](http://docs.ckeditor.com/)template.

Dependencies
------------

[](#dependencies)

- php &gt;= 7.1
- composer

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

[](#installation)

Via composer:

`composer require itstructure/yii2-ckeditor ~1.1.7`

or in section **require** of composer.json file set the following:

```
"require": {
    "itstructure/yii2-ckeditor": "~1.1.7"
}
```

and command `composer install`, if you install yii2 project extensions first,

or command `composer update`, if all yii2 project extensions are already installed.

Usage
-----

[](#usage)

Example of using in application with an active model and ckfinder:

```
echo $this->form->field($this->model, $this->getFieldName())
    ->widget(
        CKEditor::className(),
        [
            'preset' => 'custom',
            'clientOptions' => [
                'toolbarGroups' => [
                    [
                        'name' => 'undo'
                    ],
                    [
                        'name' => 'basicstyles',
                        'groups' => ['basicstyles', 'cleanup']
                    ],
                    [
                        'name' => 'colors'
                    ],
                    [
                        'name' => 'links',
                        'groups' => ['links', 'insert']
                    ],
                    [
                        'name' => 'others',
                        'groups' => ['others', 'about']
                    ],
                ],
                'filebrowserBrowseUrl' => '/ckfinder/ckfinder.html',
                'filebrowserImageBrowseUrl' => '/ckfinder/ckfinder.html?type=Images',
                'filebrowserUploadUrl' => '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
                'filebrowserImageUploadUrl' => '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
                'filebrowserWindowWidth' => '1000',
                'filebrowserWindowHeight' => '700',
                'allowedContent' => true,
                'language' => 'en',
            ]
        ]
    );
```

`preset` option can be:

- basic
- full
- standard

License
-------

[](#license)

Copyright © 2018-2025 Andrey Girnik .

Licensed under the [MIT license](http://opensource.org/licenses/MIT). See LICENSE.txt for details.

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance65

Regular maintenance activity

Popularity32

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~312 days

Recently: every ~486 days

Total

10

Last Release

211d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31563329?v=4)[Andrey Girnik](/maintainers/itstructure)[@itstructure](https://github.com/itstructure)

---

Top Contributors

[![itstructure](https://avatars.githubusercontent.com/u/31563329?v=4)](https://github.com/itstructure "itstructure (10 commits)")

---

Tags

ckeditorwidgetyii2yii2CKEditoryii 2

### Embed Badge

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

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

###  Alternatives

[softark/yii2-dual-listbox

Bootstrap Dual Listbox Widget for Yii 2

20144.4k11](/packages/softark-yii2-dual-listbox)

PHPackages © 2026

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