PHPackages                             toir427/yii2-aceeditor - 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. toir427/yii2-aceeditor

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

toir427/yii2-aceeditor
======================

Yii2 ajax.org Ace Editor widget

094PHP

Since Dec 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/toir427/yii2-aceeditor)[ Packagist](https://packagist.org/packages/toir427/yii2-aceeditor)[ RSS](/packages/toir427-yii2-aceeditor/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Ace Editor Widget For Yii2
==========================

[](#ace-editor-widget-for-yii2)

About
-----

[](#about)

It is [Ace Editor](https://ace.c9.io/#nav=about) integration for Yii2 framework.

Demo
----

[](#demo)

Ace Editor demo can be found [here](https://ace.c9.io/#ace_editor_demo=&nav=about)

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

[](#installation)

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

Either run

```
composer require toir427/yii2-aceeditor "dev-master"

```

or add

```
"toir427/yii2-aceeditor": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Using model

```
\toir427\aceeditor\AceEditor::widget([
	// You can either use it for model attribute
	'model' => $my_model,
	'attribute' => 'my_field',

	// or just for input field
	'name' => 'my_input_name',

    'mode'=>'html', // programing language mode. Default "html"
    'theme'=>'github', // editor theme. Default "github"
    'readOnly'=>'true' // Read-only mode on/off = true/false. Default "false"
]);
```

With active field

```
$form->field($model, 'field')->widget(
        \toir427\aceeditor\AceEditor::className(),
        [
            'mode'=>'html', // programing language mode. Default "html"
            'theme'=>'github', // editor theme. Default "github"
            'readOnly'=>'true' // Read-only mode on/off = true/false. Default "false"
        ]
    )
```

Lists of all available modes and themes see [here](https://github.com/ajaxorg/ace)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

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/19358691?v=4)[Toir Tuychiev](/maintainers/toir427)[@toir427](https://github.com/toir427)

---

Tags

ace-editoryii2yii2-extension

### Embed Badge

![Health badge](/badges/toir427-yii2-aceeditor/health.svg)

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

PHPackages © 2026

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