You can require this package using composer:
composer require elevate-digital/nova-charcounted-fields
You can add the field with a resolver as follows:
use ElevateDigital\CharcountedFields\CharcountedText;
use ElevateDigital\CharcountedFields\CharcountedTextarea;
CharcountedText::make('Meta title')
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 build in rules).
CharcountedText::make('Meta title')
->maxChars(60)
->warningAt(50),
CharcountedTextarea::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.

Readme not found. Refer to the project website: https://github.com/elevate-digital/nova-charcounted-fields
| Added | 7 years ago |
This package is listed on the Packagist API, but has no stable tags.
Please note that the Packagist cache is pretty long, so some times you just need to check back in an hour.