PHPackages                             black-lamp/yii2-text-editor - 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. black-lamp/yii2-text-editor

ActiveYii2-extension

black-lamp/yii2-text-editor
===========================

Widget for Ace code editor

2.0.0(9y ago)31.6k↑1400%BSD-3-ClausePHP

Since Oct 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/black-lamp/yii2-code-editor)[ Packagist](https://packagist.org/packages/black-lamp/yii2-text-editor)[ RSS](/packages/black-lamp-yii2-text-editor/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

Code editor for Yii2
====================

[](#code-editor-for-yii2)

Widget for [Ace](https://ace.c9.io) code editor

[![Latest Stable Version](https://camo.githubusercontent.com/acdd4e40f573680abf752fc7052adfc59fe86bcfc746cb53dd883560ad7baa17/68747470733a2f2f706f7365722e707567782e6f72672f626c61636b2d6c616d702f796969322d746578742d656469746f722f76657273696f6e)](https://packagist.org/packages/black-lamp/yii2-text-editor)[![Latest Unstable Version](https://camo.githubusercontent.com/f1231140aecea4f3b395e479964192abde46014042e5cf57b39c4b6feb4b3b79/68747470733a2f2f706f7365722e707567782e6f72672f626c61636b2d6c616d702f796969322d746578742d656469746f722f762f756e737461626c65)](//packagist.org/packages/black-lamp/yii2-text-editor)[![License](https://camo.githubusercontent.com/39794c684a15d0bd75760f92f816e17055513ee04f0deee5acb34d8f2c65efb8/68747470733a2f2f706f7365722e707567782e6f72672f626c61636b2d6c616d702f796969322d746578742d656469746f722f6c6963656e7365)](https://packagist.org/packages/black-lamp/yii2-text-editor)

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

[](#installation)

#### Run command

[](#run-command)

```
composer require black-lamp/yii2-text-editor

```

or add

```
"black-lamp/yii2-text-editor": "2.0.0"
```

to the require section of your composer.json.

Using
-----

[](#using)

Use widget with ActiveForm

```
$form = ActiveForm::begin();
    // ...
    echo $form->field($model, 'text')
              ->widget(bl\ace\AceWidget::className(), [
                    'language' => 'javascript'
              ]);
$form->end();
```

#### Widget configuration properties

[](#widget-configuration-properties)

OptionOptionDefaultDescriptionlanguagestringhtmlProgramming languagethemestringgithubCode editor themeenableEmmetbooleanfalseEnable emmet plugin for HTMLattributesarray\['style' =&gt; 'max-width: 600px; min-height: 400px;'\]HTML attributes for editor containerFor more information about 'language' and 'theme' configuration attributes read [Ace documentation](https://ace.c9.io/#nav=howto)

###  Health Score

32

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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

Total

6

Last Release

3366d ago

Major Versions

0.1.3-beta → 1.0.02016-11-10

1.0.0 → 2.0.02017-01-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e1784ec992318bf7ed40a2025a0ca035a01143de89054f0f4c9bc39469928c1?d=identicon)[GutsVadim](/maintainers/GutsVadim)

---

Top Contributors

[![greeflas](https://avatars.githubusercontent.com/u/17636915?v=4)](https://github.com/greeflas "greeflas (13 commits)")

---

Tags

black-lampphpyii-extensionyii-widgetsyii2codeyii2widgeteditorace

### Embed Badge

![Health badge](/badges/black-lamp-yii2-text-editor/health.svg)

```
[![Health](https://phpackages.com/badges/black-lamp-yii2-text-editor/health.svg)](https://phpackages.com/packages/black-lamp-yii2-text-editor)
```

###  Alternatives

[kartik-v/yii2-editors

Editor widgets Yii2 framework. Summernote WYSIWYG editor, Codemirror code editor and PlainText editor for Bootstrap 3.x, 4.x and 5.x.

23292.7k1](/packages/kartik-v-yii2-editors)[bizley/quill

Quill editor implementation for Yii 2.

65130.4k5](/packages/bizley-quill)[kdn/yii2-json-editor

JSON editor widget (josdejong/jsoneditor) for Yii 2.

22556.3k2](/packages/kdn-yii2-json-editor)[bizley/contenttools

ContentTools editor implementation for Yii 2.

8016.5k](/packages/bizley-contenttools)[norberttech/aceeditor-bundle

Bundle that integrate excellent JavaScript ace editor into Symfony Form.

28308.3k](/packages/norberttech-aceeditor-bundle)[voskobovich/yii2-tree-manager

Tree Manager using jquery.nestable plugin for Yii 2

2534.7k](/packages/voskobovich-yii2-tree-manager)

PHPackages © 2026

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