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

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

everzel/nova-charcounted-fields
===============================

Text and textarea fields with a character counter.

06Vue

Since May 11Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#nova-charcounter-fields)

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

### Installation

[](#installation)

Add the GitHub URL to your repositories list in `composer.json`:

```
"repositories": [
  {
    "type": "vcs",
    "url": "git@github.com:optimistdigital/nova-charcounted-fields.git"
  }
]

```

You can require this package using composer:

`composer require everzel/nova-charcounted-fields`

Usage
=====

[](#usage)

You can add the field with a resolver as follows:

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

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90.9% 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://www.gravatar.com/avatar/aed614ee80e0cf0c5f9889da3423c9ac36c679434dc0583016719fc1f2aeae00?d=identicon)[zelvad](/maintainers/zelvad)

---

Top Contributors

[![Tarpsvo](https://avatars.githubusercontent.com/u/2018660?v=4)](https://github.com/Tarpsvo "Tarpsvo (10 commits)")[![everzel](https://avatars.githubusercontent.com/u/91853349?v=4)](https://github.com/everzel "everzel (1 commits)")

### Embed Badge

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

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

###  Alternatives

[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[thanks-to-it/wp-dich

121.1k](/packages/thanks-to-it-wp-dich)

PHPackages © 2026

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