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

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

marshmallow/nova-charcounted-fields
===================================

Text and textarea fields with a character counter.

v2.1.0(1y ago)470.2k↑22.4%2[2 PRs](https://github.com/marshmallow-packages/nova-charcounted-fields/pulls)1MITVuePHP ^8.0

Since Jul 6Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (11)Used By (1)

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 marshmallow/nova-charcounted-fields`

Usage
=====

[](#usage)

You can add the field with a resolver as follows:

```
use Marshmallow\CharcountedFields\TextCounted;
use Marshmallow\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*).

```
TextCounted::make('Meta title')
	->minChars(30)
    ->maxChars(60)
    ->warningAt(50),

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

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

43

—

FairBetter than 91% of packages

Maintenance40

Moderate activity, may be stable

Popularity36

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 75.8% 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 ~407 days

Total

5

Last Release

511d ago

Major Versions

v1.0.1 → v2.0.02022-05-04

PHP version history (3 changes)v1.0.0PHP &gt;=7.1.0

v1.0.1PHP ^7.1|^8.0

v2.0.0PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

[![stefvanesch](https://avatars.githubusercontent.com/u/46725619?v=4)](https://github.com/stefvanesch "stefvanesch (25 commits)")[![LTKort](https://avatars.githubusercontent.com/u/2412670?v=4)](https://github.com/LTKort "LTKort (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

laravelnovacharacter counter

### Embed Badge

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

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

###  Alternatives

[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2872.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2861.8M9](/packages/outl1ne-nova-sortable)[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)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

14720.0k](/packages/markwalet-nova-modal-response)

PHPackages © 2026

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