PHPackages                             plato-creative/silverstripe-fieldcounter - 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. plato-creative/silverstripe-fieldcounter

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

plato-creative/silverstripe-fieldcounter
========================================

Adds a counter to defined fields to show remaining characters

2.1.0(9y ago)423.1k↓50%5[1 PRs](https://github.com/PlatoCreative/silverstripe-fieldcounter/pulls)JavaScript

Since Jan 12Pushed 3y ago1 watchersCompare

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

READMEChangelog (7)Dependencies (1)Versions (12)Used By (0)

Silverstripe FieldCounter
=========================

[](#silverstripe-fieldcounter)

Shows a field counter on specified fields in the SilverStripe CMS

### Usage

[](#usage)

To add the field counter to a Silverstripe field in the CMS you need to add:

```
TextField::('myfield')->setAttribute('data-fieldcounter', 140);
```

If you require different limits change the 140. Note: Adding this to a TextareaField prevents new lines.

If you want to prevent more text than your limit, use the built in HTML attribute `maxlength` e.g.

```
TextField::('myfield')->setAttribute('maxlength', 140);
```

### Install

[](#install)

SilverStripe 3

`$ composer require plato-creative/silverstripe-fieldcounter:1.*`

SilverStripe 4

`$ composer require plato-creative/silverstripe-fieldcounter:2.*`

### Documentation

[](#documentation)

See [Docs](https://github.com/PlatoCreative/silverstripe-fieldcounter/blob/master/docs/en)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 93.3% 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 ~11 days

Recently: every ~17 days

Total

10

Last Release

3308d ago

Major Versions

v1.0.1 → 2.0.02017-01-20

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/23e3a1ee967f8874e7e6bdc6394b03876b07e281c437c2fc40113e7a01b83878?d=identicon)[platocreative](/maintainers/platocreative)

---

Top Contributors

[![mylesthedev](https://avatars.githubusercontent.com/u/909749?v=4)](https://github.com/mylesthedev "mylesthedev (14 commits)")[![aidanator7000](https://avatars.githubusercontent.com/u/25066688?v=4)](https://github.com/aidanator7000 "aidanator7000 (1 commits)")

---

Tags

silverstripecounterlimitfieldscreativeplato

### Embed Badge

![Health badge](/badges/plato-creative-silverstripe-fieldcounter/health.svg)

```
[![Health](https://phpackages.com/badges/plato-creative-silverstripe-fieldcounter/health.svg)](https://phpackages.com/packages/plato-creative-silverstripe-fieldcounter)
```

PHPackages © 2026

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