PHPackages                             datomatic/nova-charcounted-fields - 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. datomatic/nova-charcounted-fields

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

datomatic/nova-charcounted-fields
=================================

Text and textarea fields with a character counter.

v2.0.0(3y ago)22.7k↓37.5%MITVuePHP &gt;=7.1.0

Since Jan 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/datomatic/nova-charcounted-fields)[ Packagist](https://packagist.org/packages/datomatic/nova-charcounted-fields)[ GitHub Sponsors](https://github.com/Datomatic)[ RSS](/packages/datomatic-nova-charcounted-fields/feed)WikiDiscussions main Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Nova Charcounter Fields
=======================

[](#nova-charcounter-fields)

Text and textarea fields with a character counter for Laravel Nova.

### Installation

[](#installation)

You can require this package using composer:

`composer require datomatic/nova-charcounted-fields`

Usage
=====

[](#usage)

You can add the field with a resolver as follows:

```
use Datomatic\CharcountedFields\TextCounted;
use Datomatic\CharcountedFields\TextareaCounted;

TextCounted::make('Meta title')

```

[![Image of character counter](docs/screenshot.jpg)](docs/screenshot.jpg)

You can use the text and textarea fields with charactercounters on you Nova model. The max number of characters aren't enforced, but just encouraged with warning colors and the counter. (You could enforce the max number of characters with Nova's built in *rules* and with a *maxlength* extra attribute).

```
TextCounted::make('Meta title')
    ->maxChars(60)
    ->warningAt(50)
    ->withMeta(['extraAttributes' => ['maxlength' => '65']]),

TextareaCounted::make('Meta description')
    ->maxChars(160)
    ->warningAt(150)
    ->rows(3),
```

The maxChars and warningAt are both optional. The color of the counter will change when the max or warningAt limit is reached. [![Image of character counter with indication](docs/screenshot-errors.jpg)](docs/screenshot-errors.jpg)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

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 ~365 days

Total

2

Last Release

1269d ago

Major Versions

1.0.0 → v2.0.02023-01-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/497169?v=4)[Alberto Peripolli](/maintainers/trippo)[@trippo](https://github.com/trippo)

---

Top Contributors

[![RobertoNegro](https://avatars.githubusercontent.com/u/28984898?v=4)](https://github.com/RobertoNegro "RobertoNegro (1 commits)")[![trippo](https://avatars.githubusercontent.com/u/497169?v=4)](https://github.com/trippo "trippo (1 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/datomatic-nova-charcounted-fields/health.svg)

```
[![Health](https://phpackages.com/badges/datomatic-nova-charcounted-fields/health.svg)](https://phpackages.com/packages/datomatic-nova-charcounted-fields)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3453.7M8](/packages/optimistdigital-nova-multiselect-field)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

52178.7k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17186.3k1](/packages/murdercode-nova4-tinymce-editor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11273.0k](/packages/datomatic-nova-detached-actions)[wemersonrv/input-mask

A Laravel Nova custom field text with masks on input

1198.4k](/packages/wemersonrv-input-mask)

PHPackages © 2026

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