PHPackages                             nswdpc/silverstripe-trumbowyg - 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. [Templating &amp; Views](/categories/templating)
4. /
5. nswdpc/silverstripe-trumbowyg

ActiveSilverstripe-vendormodule[Templating &amp; Views](/categories/templating)

nswdpc/silverstripe-trumbowyg
=============================

Decorate textarea fields with the Trumbowyg editor, support content sanitising and a restricted feature set by default

v2.0.0(6mo ago)12.7k[1 PRs](https://github.com/nswdpc/silverstripe-trumbowyg/pulls)BSD-3-ClausePHP

Since Oct 15Pushed 5mo ago2 watchersCompare

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

READMEChangelog (10)Dependencies (10)Versions (22)Used By (0)

Trumbowyg editor field for Silverstripe
=======================================

[](#trumbowyg-editor-field-for-silverstripe)

Decorate textarea fields with the [Trumbowyg](https://github.com/Alex-D/Trumbowyg) editor.

This module supports:

- content sanitising of submitted content on the client side using Trumbowyg configuration rules and server side using [HTMLPurifier](https://github.com/ezyang/htmlpurifier))
- restricted feature set by default ([see documentation](./docs/en/001_index.md))

Use cases
---------

[](#use-cases)

This editor field is useful for gathering content where some form of formatting in HTML is required. It is not intended for use in the administration area (although PRs are welcome for that, for example a restricted content editing field)

As the goal is only a restricted feature set for simple content submissions, the module will not support:

- file uploads
- image uploads
- image insertion

Please use dedicated upload fields for handling file uploads.

Requirements
------------

[](#requirements)

Per [composer.json](/composer.json):

- silverstripe/framework ^5
- jQuery 3.7

The field pulls in required Trumbowyg JS and CSS assets from `cdn.jsdelivr.net` along with their respective Sub Resource Integrity (SRI) hashes.

If you wish to use your own jQuery, set the `TrumboywgEditorField.use_own_jquery` configuration value to `false` in your project configuration. When false, the module will not include its own jQuery.

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

[](#installation)

```
composer require nswdpc/silverstripe-trumbowyg
```

Usage
-----

[](#usage)

See [the basic example](./docs/en/001_index.md#basic-example)

License
-------

[](#license)

[BSD-3-Clause](./LICENSE.md)

Documentation
-------------

[](#documentation)

- [Documentation](./docs/en/001_index.md)

Configuration
-------------

[](#configuration)

See [config.yml](./_config/config.yml) for module configuration values

Maintainers
-----------

[](#maintainers)

- PD Web Team

Bugtracker
----------

[](#bugtracker)

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the [code of conduct](./code-of-conduct.md) prior to opening a new issue.

Security
--------

[](#security)

If you have found a security issue with this module, please email digital\[@\]dpc.nsw.gov.au in the first instance, detailing your findings.

Development and contribution
----------------------------

[](#development-and-contribution)

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

Please review the [code of conduct](./code-of-conduct.md) prior to completing a pull request.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance69

Regular maintenance activity

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 89.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 ~123 days

Recently: every ~109 days

Total

16

Last Release

180d ago

Major Versions

v0.4.0 → v1.0.0-rc12023-06-21

v0.4.1 → v1.0.02024-07-26

v0.4.2 → v1.0.12024-09-02

v1.2.0 → v2.0.02025-11-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/1caefd99092b4a43254e48c40347224f671032ec1ffc3a457e06a7e9ab6e7c02?d=identicon)[nswdpc](/maintainers/nswdpc)

---

Top Contributors

[![JamesDPC](https://avatars.githubusercontent.com/u/69664712?v=4)](https://github.com/JamesDPC "JamesDPC (94 commits)")[![tardinha](https://avatars.githubusercontent.com/u/457209?v=4)](https://github.com/tardinha "tardinha (11 commits)")

---

Tags

editortextareatrumbowygsilverstripeeditortrumbowyghtmleditor

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nswdpc-silverstripe-trumbowyg/health.svg)

```
[![Health](https://phpackages.com/badges/nswdpc-silverstripe-trumbowyg/health.svg)](https://phpackages.com/packages/nswdpc-silverstripe-trumbowyg)
```

###  Alternatives

[silverstripe-themes/simple

The SilverStripe simple theme (default SilverStripe 3 theme)

411.3M8](/packages/silverstripe-themes-simple)[silverstripe/login-forms

A collection of templates for the CMS login screens

191.3M26](/packages/silverstripe-login-forms)[stevie-mayhew/silverstripe-svg

Basic SVG support for SilverStripe

23326.5k4](/packages/stevie-mayhew-silverstripe-svg)[nathancox/customhtmleditorfield

Allows per-editor TinyMCE configurations and body classes in SilverStripe

168.7k](/packages/nathancox-customhtmleditorfield)[symbiote/silverstripe-listingpage

A module that allows CMS users to create templated listing pages.

1012.7k2](/packages/symbiote-silverstripe-listingpage)[rywa/silverstripe-foundation-forms

Add ZURB Foundation framework forms compatibility to SilverStripe 3

126.4k](/packages/rywa-silverstripe-foundation-forms)

PHPackages © 2026

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