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. [Utility &amp; Helpers](/categories/utility)
4. /
5. black-lamp/yii2-text-editor

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

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

Widget for Ace code editor

2.0.0(9y ago)31.6k↑1400%2BSD-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 1mo ago

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

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 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

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

3416d 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

[bizley/quill

Quill editor implementation for Yii 2.

64133.3k5](/packages/bizley-quill)[bizley/contenttools

ContentTools editor implementation for Yii 2.

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

Bundle that integrate excellent JavaScript ace editor into Symfony Form.

28310.8k](/packages/norberttech-aceeditor-bundle)[softark/yii2-dual-listbox

Bootstrap Dual Listbox Widget for Yii 2

20144.4k11](/packages/softark-yii2-dual-listbox)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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