PHPackages                             wheregroup/codemirror - 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. wheregroup/codemirror

ActiveComponent[Utility &amp; Helpers](/categories/utility)

wheregroup/codemirror
=====================

Full-featured in-browser code editor

5.47.1(7y ago)017.1k↓16.7%1MITJavaScript

Since Apr 20Pushed 7y ago2 watchersCompare

[ Source](https://github.com/WhereGroup/CodeMirror)[ Packagist](https://packagist.org/packages/wheregroup/codemirror)[ Docs](http://codemirror.net)[ RSS](/packages/wheregroup-codemirror/feed)WikiDiscussions master Synced 2d ago

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

CodeMirror
==========

[](#codemirror)

[![Build Status](https://camo.githubusercontent.com/bdffd0f1bbe0d483d281c6ab056a9eb746d8d669a3064bda0a88d7fad321953b/68747470733a2f2f7472617669732d63692e6f72672f636f64656d6972726f722f436f64654d6972726f722e737667)](https://travis-ci.org/codemirror/CodeMirror)[![NPM version](https://camo.githubusercontent.com/1221e56c2a5fff9aa46d79d9c7fd5f0927c2229e19238d5afc8c25b6266bbb0c/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f636f64656d6972726f722e737667)](https://www.npmjs.org/package/codemirror)[![Join the chat at https://gitter.im/codemirror/CodeMirror](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/codemirror/CodeMirror)

CodeMirror is a versatile text editor implemented in JavaScript for the browser. It is specialized for editing code, and comes with over 100 language modes and various addons that implement more advanced editing functionality. Every language comes with fully-featured code and syntax highlighting to help with reading and editing complex code.

A rich programming API and a CSS theming system are available for customizing CodeMirror to fit your application, and extending it with new functionality.

You can find more information (and the [manual](https://codemirror.net/doc/manual.html)) on the [project page](https://codemirror.net). For questions and discussion, use the [discussion forum](https://discuss.codemirror.net/).

See [CONTRIBUTING.md](https://github.com/codemirror/CodeMirror/blob/master/CONTRIBUTING.md)for contributing guidelines.

The CodeMirror community aims to be welcoming to everybody. We use the [Contributor Covenant (1.1)](http://contributor-covenant.org/version/1/1/0/) as our code of conduct.

### Installation

[](#installation)

Either get the [zip file](https://codemirror.net/codemirror.zip) with the latest version, or make sure you have [Node](https://nodejs.org/)installed and run:

```
npm install codemirror

```

**NOTE**: This is the source repository for the library, and not the distribution channel. Cloning it is not the recommended way to install the library, and will in fact not work unless you also run the build step.

### Quickstart

[](#quickstart)

To build the project, make sure you have Node.js installed (at least version 6) and then `npm install`. To run, just open `index.html` in your browser (you don't need to run a webserver). Run the tests with `npm test`.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community27

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 85.5% 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 ~387 days

Total

3

Last Release

2587d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e93698c8e1784f88100eab35a186fab222bcbb5dc805d52f36cb6c459fa4743c?d=identicon)[werrolf](/maintainers/werrolf)

![](https://www.gravatar.com/avatar/0154eb5bdfa738d2bbc95bb345ba5f971d9395a2318f8724e42fa3bd384ae9c2?d=identicon)[LazerTiberius](/maintainers/LazerTiberius)

---

Top Contributors

[![marijnh](https://avatars.githubusercontent.com/u/144427?v=4)](https://github.com/marijnh "marijnh (4317 commits)")[![mightyguava](https://avatars.githubusercontent.com/u/2769275?v=4)](https://github.com/mightyguava "mightyguava (132 commits)")[![adrianheine](https://avatars.githubusercontent.com/u/139208?v=4)](https://github.com/adrianheine "adrianheine (91 commits)")[![0b10011](https://avatars.githubusercontent.com/u/1123348?v=4)](https://github.com/0b10011 "0b10011 (55 commits)")[![peterkroon](https://avatars.githubusercontent.com/u/516669?v=4)](https://github.com/peterkroon "peterkroon (53 commits)")[![jankeromnes](https://avatars.githubusercontent.com/u/599268?v=4)](https://github.com/jankeromnes "jankeromnes (33 commits)")[![nightwing](https://avatars.githubusercontent.com/u/341801?v=4)](https://github.com/nightwing "nightwing (30 commits)")[![mtaran-google](https://avatars.githubusercontent.com/u/5050719?v=4)](https://github.com/mtaran-google "mtaran-google (27 commits)")[![vincentwoo](https://avatars.githubusercontent.com/u/613320?v=4)](https://github.com/vincentwoo "vincentwoo (26 commits)")[![Dominator008](https://avatars.githubusercontent.com/u/1403453?v=4)](https://github.com/Dominator008 "Dominator008 (25 commits)")[![vrana](https://avatars.githubusercontent.com/u/117453?v=4)](https://github.com/vrana "vrana (20 commits)")[![eustas](https://avatars.githubusercontent.com/u/203457?v=4)](https://github.com/eustas "eustas (19 commits)")[![lynschinzer](https://avatars.githubusercontent.com/u/1128757?v=4)](https://github.com/lynschinzer "lynschinzer (17 commits)")[![cben](https://avatars.githubusercontent.com/u/273688?v=4)](https://github.com/cben "cben (17 commits)")[![heppe](https://avatars.githubusercontent.com/u/816641?v=4)](https://github.com/heppe "heppe (17 commits)")[![dwelle](https://avatars.githubusercontent.com/u/5153846?v=4)](https://github.com/dwelle "dwelle (16 commits)")[![idleberg](https://avatars.githubusercontent.com/u/1504938?v=4)](https://github.com/idleberg "idleberg (15 commits)")[![alur](https://avatars.githubusercontent.com/u/1925047?v=4)](https://github.com/alur "alur (14 commits)")[![zaggino](https://avatars.githubusercontent.com/u/1067319?v=4)](https://github.com/zaggino "zaggino (13 commits)")[![Carreau](https://avatars.githubusercontent.com/u/335567?v=4)](https://github.com/Carreau "Carreau (13 commits)")

---

Tags

javascripteditorcodemirror

### Embed Badge

![Health badge](/badges/wheregroup-codemirror/health.svg)

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

###  Alternatives

[tightenco/ziggy

Use your Laravel named routes in JavaScript.

4.3k48.3M329](/packages/tightenco-ziggy)[froala/wysiwyg-editor

A beautiful jQuery WYSIWYG HTML rich text editor. High performance and modern design make it easy to use for developers and loved by users.

5.4k320.3k5](/packages/froala-wysiwyg-editor)[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k33.1M462](/packages/matthiasmullie-minify)[ckeditor/ckeditor

JavaScript WYSIWYG web text editor.

5244.3M80](/packages/ckeditor-ckeditor)[tedivm/jshrink

Javascript Minifier built in PHP

76339.9M179](/packages/tedivm-jshrink)[unisharp/laravel-ckeditor

JavaScript WYSIWYG web text editor (for laravel).

387766.8k5](/packages/unisharp-laravel-ckeditor)

PHPackages © 2026

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