PHPackages                             wernerkrauss/ss-stringfield-replace - 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. wernerkrauss/ss-stringfield-replace

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

wernerkrauss/ss-stringfield-replace
===================================

Extension for replacing symbols to html in DBString subclasses

0.1.1(6y ago)0167MITPHPCI failing

Since Apr 29Pushed 5y ago2 watchersCompare

[ Source](https://github.com/wernerkrauss/ss-stringfield-replace)[ Packagist](https://packagist.org/packages/wernerkrauss/ss-stringfield-replace)[ RSS](/packages/wernerkrauss-ss-stringfield-replace/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (4)Used By (0)

README
======

[](#readme)

This module provides a simple search/replace functionality for DBString derived fields (Text, HTMLText, Varchar) in Silverstripe CMS 4.

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

[](#requirements)

- Silverstripe &gt; 4

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

[](#installation)

Install this package using composer

> composer require wernerkrauss/ss-stringfield-replace ^0.1

Features:
---------

[](#features)

You can define maps to replace in your text field. By default it replaces:

- `(c)` becomes `&copy;`
- `(r)` becomes `&reg;`
- `(tm)` becomes `&trade;`
- `|` becomes ``

This can be used in templates using the `Replace` method, e.g.

```
$Title.Replace

```

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

[](#configuration)

You can add your own replacements by modifying `SilverStripe\ORM\FieldType\DBString.replacements` config

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2256d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff3ee546a6d1b1092f1badf68523ba30f28dec7fce11254a8cb3aeb57c6202de?d=identicon)[wernerkrauss](/maintainers/wernerkrauss)

---

Top Contributors

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

---

Tags

silverstripe

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wernerkrauss-ss-stringfield-replace/health.svg)

```
[![Health](https://phpackages.com/badges/wernerkrauss-ss-stringfield-replace/health.svg)](https://phpackages.com/packages/wernerkrauss-ss-stringfield-replace)
```

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