PHPackages                             lee-to/moonshine-input-extension-char-count - 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. lee-to/moonshine-input-extension-char-count

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

lee-to/moonshine-input-extension-char-count
===========================================

Input extension - display the number of characters

2.0.0(1y ago)86771MITPHPPHP ^8.0|^8.1|^8.2

Since Apr 20Pushed 1y ago2 watchersCompare

[ Source](https://github.com/lee-to/moonshine-input-extension-char-count)[ Packagist](https://packagist.org/packages/lee-to/moonshine-input-extension-char-count)[ Docs](https://moonshine-laravel.com)[ RSS](/packages/lee-to-moonshine-input-extension-char-count/feed)WikiDiscussions 2.x Synced today

READMEChangelog (4)Dependencies (5)Versions (6)Used By (0)

### Input extension - display the number of characters

[](#input-extension---display-the-number-of-characters)

Input extension - display the number of characters for MoonShine

### Requirements

[](#requirements)

- MoonShine v3.0+

### Support MoonShine versions

[](#support-moonshine-versions)

MoonShineCharCount1.0+1.0+2.0+3.0+### Installation

[](#installation)

```
composer require lee-to/moonshine-input-extension-char-count
```

```
use Leeto\InputExtensionCharCount\InputExtensions\CharCount;

//
Text::make('Field')
    ->extension(new CharCount()),
// or
Text::make('Field')
    ->extension(new CharCount(250)),
// or
Text::make('Field')
    ->extension(new CharCount(45,5)),
```

Parameters: max - integer. The value can be empty. The maximum number of characters allowed. min - integer. The value can be empty. The minimum allowed number of characters.

#### How does it look in the Admin Panel ?

[](#how-does-it-look-in-the-admin-panel-)

[![default](./screenshot/default.png)](./screenshot/default.png)[![parameters](./screenshot/parameters.png)](./screenshot/parameters.png)[![parameters warning](./screenshot/parameters-warning.png)](./screenshot/parameters-warning.png)

Tip

If the number of characters entered in the field is less than the min parameter or less than max\*20%, then the maximum allowed number of characters will be highlighted in color.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~109 days

Recently: every ~29 days

Total

6

Last Release

624d ago

Major Versions

1.x-dev → 2.0.02024-10-19

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1861327?v=4)[Danil Shutsky](/maintainers/lee-to)[@lee-to](https://github.com/lee-to)

---

Top Contributors

[![lee-to](https://avatars.githubusercontent.com/u/1861327?v=4)](https://github.com/lee-to "lee-to (5 commits)")[![forest-lynx](https://avatars.githubusercontent.com/u/16956348?v=4)](https://github.com/forest-lynx "forest-lynx (1 commits)")[![shevl-dev](https://avatars.githubusercontent.com/u/118539450?v=4)](https://github.com/shevl-dev "shevl-dev (1 commits)")

---

Tags

moonshineinput extensionchar count

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lee-to-moonshine-input-extension-char-count/health.svg)

```
[![Health](https://phpackages.com/badges/lee-to-moonshine-input-extension-char-count/health.svg)](https://phpackages.com/packages/lee-to-moonshine-input-extension-char-count)
```

###  Alternatives

[lee-to/moonshine-tree-resource

Tree resource for moonshine

1620.4k](/packages/lee-to-moonshine-tree-resource)[dev-lnk/moonshine-builder

Project builder for MoonShine

255.7k](/packages/dev-lnk-moonshine-builder)[warete/moonshine-upgrade

Package for upgrade MoonShine

121.9k](/packages/warete-moonshine-upgrade)

PHPackages © 2026

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