PHPackages                             jinjie/codeeditorfield - 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. jinjie/codeeditorfield

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

jinjie/codeeditorfield
======================

Code editor field for SilverStripe

0.0.4(6y ago)019.7k3[2 issues](https://github.com/jinjie/codeeditorfield/issues)MITPHPPHP &gt;=7.1CI failing

Since Oct 15Pushed 6y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (6)Used By (0)

Code Editor Field for SilverStripe 4
====================================

[](#code-editor-field-for-silverstripe-4)

Creates an Ace Code Editor ()

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

[](#installation)

`composer require jinjie/codeeditorfield`

Usage
-----

[](#usage)

```
$fields->push(CodeEditorField::create('MyCode', 'Enter Source Code Here'));
```

Setting the Programming Language Mode
-------------------------------------

[](#setting-the-programming-language-mode)

```
$fields->push($myCodeEditorField = CodeEditorField::create('MyCode', 'Enter Source Code Here'));

// set mode to html
$myCodeEditorField->setMode('ace/mode/html');
// or javascript
$myCodeEditorField->setMode('ace/mode/javascript');
```

see [resources/thirdparty/ace](resources/thirdparty/ace) for available modes (mode-{language}.js)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% 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 ~134 days

Total

4

Last Release

2370d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d24d7bd9fd11fef8ef00cbb7c27213e1701c074242fef49803db9bdcc9af210?d=identicon)[jinjie](/maintainers/jinjie)

---

Top Contributors

[![jinjie](https://avatars.githubusercontent.com/u/2721195?v=4)](https://github.com/jinjie "jinjie (9 commits)")[![derralf](https://avatars.githubusercontent.com/u/1495867?v=4)](https://github.com/derralf "derralf (2 commits)")

---

Tags

codeeditorsilverstripesilverstripe-4

### Embed Badge

![Health badge](/badges/jinjie-codeeditorfield/health.svg)

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

###  Alternatives

[silverstripe/multi-domain

Allows multiple domains to access one CMS instance, mapping them to different sections of the hierarchy

141.6k](/packages/silverstripe-multi-domain)

PHPackages © 2026

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