PHPackages                             andreosoft/yii2-codemirror-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. andreosoft/yii2-codemirror-widget

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

andreosoft/yii2-codemirror-widget
=================================

The Codemirror extension for the Yii framework

138PHP

Since Mar 25Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-codemirror-widget
======================

[](#yii2-codemirror-widget)

CodeMirror extension for Yii2

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

[](#installation)

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

Either run

php composer.phar require 'andreosoft/yii2-codemirror-widget'

or add

"andreosoft/yii2-codemirror-widget": "\*"

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

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

field($model, 'content')-&gt;widget(Codemirror::className(), \[ 'editorOptions' =&gt; \[ 'lineNumbers' =&gt; true, 'matchBrackets' =&gt; true, 'indentUnit' =&gt; 4, 'indentWithTabs' =&gt; true, 'mode' =&gt; 'application/x-httpd-php', \], 'editorHeight' =&gt; 800\]) ?&gt;

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/81995c0848d79a8bc8dc0522e991cf2d5364ef3dca94bbc0498789f80d425621?d=identicon)[andreosoft](/maintainers/andreosoft)

---

Top Contributors

[![andreosoft](https://avatars.githubusercontent.com/u/12786478?v=4)](https://github.com/andreosoft "andreosoft (6 commits)")

### Embed Badge

![Health badge](/badges/andreosoft-yii2-codemirror-widget/health.svg)

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

###  Alternatives

[copex/vatfix

Magento2 module for accepting VAT's (UID) with country code (ex.ATU69932326) as usual in EU.

1717.7k](/packages/copex-vatfix)

PHPackages © 2026

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