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

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

smartians/nova-charcounted-fields
=================================

Text and textarea fields with a character counter.

05.4k—0%1Vue

Since Apr 25Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Important
=========

[](#important)

I am not the author of this package, it is a copy of the Elevate Digital package. I set this up to include in a project when the dependency link was broken on github.

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

Usage
=====

[](#usage)

You can add the field with a resolver as follows:

```
use Smartians\CharcountedFields\TextCounted;
use Smartians\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')
    ->maxChars(60)
    ->warningAt(50),

TextareaCounted::make('Meta description')
    ->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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16956839?v=4)[Patrick Corkery](/maintainers/patricktsg)[@patricktsg](https://github.com/patricktsg)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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