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.7k4[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 today

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 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

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

2415d 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/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[symbiote/silverstripe-gridfieldextensions

A collection of useful grid field components

951.9M271](/packages/symbiote-silverstripe-gridfieldextensions)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/tagfield

Tag field for SilverStripe

561.3M50](/packages/silverstripe-tagfield)[jonom/silverstripe-betternavigator

Front-end utility menu for Silverstripe websites featuring administration and development tools

60435.1k13](/packages/jonom-silverstripe-betternavigator)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39344.8k31](/packages/lekoala-silverstripe-cms-actions)

PHPackages © 2026

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