PHPackages                             wedevelopnl/silverstripe-highlights - 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. wedevelopnl/silverstripe-highlights

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

wedevelopnl/silverstripe-highlights
===================================

Silverstripe module to add shortcode highlights for DB strings.

1.0.0(2y ago)019MITPHPPHP ^8.1

Since Oct 10Pushed 2y ago7 watchersCompare

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

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

silverstripe-highlights
=======================

[](#silverstripe-highlights)

This module creates a `.Highlight` method on all SS DBStrings to provide the ability to highlight custom texts by placing it between shortcodes that are configurable by yourself.

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

[](#requirements)

- See `composer.json` requirement

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

[](#installation)

- `composer require wedevelopnl/silverstripe-highlights`

Next, you'll need to run a `dev/build` with a `flush=all` to allow this module to work properly.

License
-------

[](#license)

See [License](LICENSE)

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

[](#maintainers)

- [WeDevelop](https://www.wedevelop.nl/)

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

[](#configuration)

```
SilverStripe\ORM\FieldType\DBString:
    shortcode_start: '['
    shortcode_end: ']'
    css_class_name: 'highlight'
```

Example
-------

[](#example)

### Input

[](#input)

```
This is a [large] content string which outputs HTML around the word 'large'.
```

### Output

[](#output)

```
This is a large content string which outputs HTML around the word 'large'.
```

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

[](#development-and-contribution)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. See read our [contributing](CONTRIBUTING.md) document for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~168 days

Total

2

Last Release

773d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a41b16aafbe795cfad0b4941b9ac37305e5bba2aefbcf56cc1f0c180928de27?d=identicon)[WeDevelop](/maintainers/WeDevelop)

---

Top Contributors

[![Dennisprins93](https://avatars.githubusercontent.com/u/9679179?v=4)](https://github.com/Dennisprins93 "Dennisprins93 (6 commits)")[![erikfrerejean](https://avatars.githubusercontent.com/u/197732?v=4)](https://github.com/erikfrerejean "erikfrerejean (5 commits)")[![floriskroeze](https://avatars.githubusercontent.com/u/74931640?v=4)](https://github.com/floriskroeze "floriskroeze (1 commits)")

---

Tags

silverstripe

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/wedevelopnl-silverstripe-highlights/health.svg)

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

###  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)
