PHPackages                             solution/code-mirror-bundle - 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. solution/code-mirror-bundle

ActiveSymfony-bundle

solution/code-mirror-bundle
===========================

This Bundle integrates CodeMirror editor into a Symfony2 project.

277718[1 issues](https://github.com/f1nder/SolutionCodeMirrorBundle/issues)JavaScript

Since Jun 3Pushed 12y ago2 watchersCompare

[ Source](https://github.com/f1nder/SolutionCodeMirrorBundle)[ Packagist](https://packagist.org/packages/solution/code-mirror-bundle)[ RSS](/packages/solution-code-mirror-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

SolutionCodeMirrorBundle [![Build Status](https://camo.githubusercontent.com/7a34133f2a43cb813bc560f57a4fa541e52443585b488f1a31111437254fa4de/68747470733a2f2f6170692e7472617669732d63692e6f72672f66316e6465722f536f6c7574696f6e436f64654d6972726f7242756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/f1nder/SolutionCodeMirrorBundle)
=============================================================================================================================================================================================================================================================================================================================================================

[](#solutioncodemirrorbundle-)

Bundle not yet ready.

Integration [CodeMirror](http://codemirror.net/) editor in you symfony2 project.

\###Install

Just add the following line to your projects composer.json require section, and update vendors:

```
"solution/code-mirror-bundle": "dev-master"
```

Enable bundle , add to `AppKernel.php`:

```
 new Solution\CodeMirrorBundle\SolutionCodeMirrorBundle()
```

\###Configuration Add default parameters to `config.yml`:

```
twig:
    form:
        resources:
            - 'SolutionCodeMirrorBundle:Form:redactor_widget.html.twig'

solution_code_mirror:
    parameters:
      mode: text/html
      lineNumbers: true
      lineWrapping: true
    mode_dirs:
      - @SolutionCodeMirrorBundle/Resources/public/js/mode
    themes_dirs:
      - @SolutionCodeMirrorBundle/Resources/public/css/theme
```

Install assets:

```
$ ./app/console assets:install web --symlink
```

\###Usage

```
 $builder->add('content', 'code_mirror', array(
    'required' => true,
    'parameters' => array(
         'lineNumbers' => 'true'
     )
 ));
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

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/2d7b50031b74da8cef36404f801496d1d07bccd1c7f7929f9a0c2cc6d9e12035?d=identicon)[f1nder](/maintainers/f1nder)

---

Top Contributors

[![f1nder](https://avatars.githubusercontent.com/u/498063?v=4)](https://github.com/f1nder "f1nder (16 commits)")

### Embed Badge

![Health badge](/badges/solution-code-mirror-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/solution-code-mirror-bundle/health.svg)](https://phpackages.com/packages/solution-code-mirror-bundle)
```

PHPackages © 2026

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