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

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

trinity-rank/nova-charcounted-fields
====================================

Text and textarea fields with a character counter.

v1.0.0(4y ago)26.3k[1 issues](https://github.com/trinity-rank/nova-charcounted-fields/issues)MITVuePHP &gt;=7.1.0

Since Nov 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/trinity-rank/nova-charcounted-fields)[ Packagist](https://packagist.org/packages/trinity-rank/nova-charcounted-fields)[ RSS](/packages/trinity-rank-nova-charcounted-fields/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)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 trinity-rank/nova-charcounted-fields`

Usage
=====

[](#usage)

You can add the field with a resolver as follows:

```
use TrinityRank\CharcountedFields\TextCounted;
use TrinityRank\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

24

—

LowBetter than 32% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

1640d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0529d66a2bad86fe77ead9c9cd33d611daaa00dcc73510603b17bab69b8ea196?d=identicon)[trinity-rank](/maintainers/trinity-rank)

---

Top Contributors

[![nebojsa-trinityrank](https://avatars.githubusercontent.com/u/87073514?v=4)](https://github.com/nebojsa-trinityrank "nebojsa-trinityrank (1 commits)")

---

Tags

laravelnova

### Embed Badge

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

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

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

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

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

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

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