PHPackages                             vicmans/filament-number-input - 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. vicmans/filament-number-input

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

vicmans/filament-number-input
=============================

Input number counter quantity field for Filament

v1.0.0(1y ago)25.8k[2 PRs](https://github.com/vicmans/filament-number-input/pulls)1MITBladePHP ^8.1CI passing

Since Sep 8Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/vicmans/filament-number-input)[ Packagist](https://packagist.org/packages/vicmans/filament-number-input)[ GitHub Sponsors](https://github.com/vicmans)[ RSS](/packages/vicmans-filament-number-input/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (4)Used By (1)

Number Input Counter for Filament
=================================

[](#number-input-counter-for-filament)

 [![project-logo](example.png)](example.png)

[![Latest Version on Packagist](https://camo.githubusercontent.com/57f96da98aeb39289a6bc66b3d69fa6f50c4cf1bd1d5238b11bd9dd7d73d695b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7669636d616e732f66696c616d656e742d6e756d6265722d696e7075742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vicmans/filament-number-input)[![GitHub Tests Action Status](https://camo.githubusercontent.com/8501762e985e6c5f5acb2e855da437b574632462180f0772f40502f78c5ac1a3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7669636d616e732f66696c616d656e742d6e756d6265722d696e7075742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/vicmans/filament-number-input/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/ef1e19e7348c136b3dee181f7de6a07e573c8a42c535384ed0f2fd2a42ffcf30/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7669636d616e732f66696c616d656e742d6e756d6265722d696e7075742f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/vicmans/filament-number-input/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/b06cfcf181958b55017dc973fb34ff57e6ceba1ab4dd3b4b013258dcee548263/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7669636d616e732f66696c616d656e742d6e756d6265722d696e7075742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vicmans/filament-number-input)

Just another quantity input number counter field for Filament.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require vicmans/filament-number-input
```

Add the following line to `tailwind.config.js` inside the content section

```
export default {
  presets: [],
  content: [
    ...
    './vendor/vicmans/filament-number-input/resources/views/*.blade.php',
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-number-input-views"
```

and you can edit the component.

Usage
-----

[](#usage)

```
use Vicmans\FilamentNumberInput\FilamentNumberInput;

protected function form(): array
{
    return [
        ...
        FilamentNumberInput::make('quantity')
            ->minValue(1)
            ->maxValue(20)
            ->minusIcon('heroicon-o-arrow-left')
            ->default(5);
        ...
    ];
}
```

### Methods and Props

[](#methods-and-props)

MethodDescriptionDefault ValueUsagestepSet interval for number input field`1``step(2)`defaultDefault value`0``default(5)`maxValueThe max value that allow the user to input`maxValue(10)`minValueThe min value that allow the user to input`minValue(2)`disableManualInputUser can type the input`false``disableManualInput()`
 This disable manual input, user can change the value using buttons.minusIconDecrease button icon`minusIcon('heroicon-o-minus')`plusIconIncrease button icon`plusIcon('heroicon-o-plus')`Other methods from Filament Forms Field.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [vicmans](https://github.com/vicmans)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance54

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

617d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13349708?v=4)[Victor](/maintainers/vicmans)[@vicmans](https://github.com/vicmans)

---

Top Contributors

[![vicmans](https://avatars.githubusercontent.com/u/13349708?v=4)](https://github.com/vicmans "vicmans (2 commits)")

---

Tags

filament-formfilament-pluginformhacktoberfestinputlaravelfieldinputform-fieldvicmansfilament-number-inputinput-number

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/vicmans-filament-number-input/health.svg)

```
[![Health](https://phpackages.com/badges/vicmans-filament-number-input/health.svg)](https://phpackages.com/packages/vicmans-filament-number-input)
```

###  Alternatives

[lara-zeus/popover

Zeus Popover is filamentphp component to show a Popover with custom content in tables and infolist

2968.2k3](/packages/lara-zeus-popover)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3212.4k](/packages/defstudio-filament-searchable-input)[schmeits/filament-character-counter

This is a Filament character counter TextField and Textarea form field for Filament v4 and v5

33184.7k6](/packages/schmeits-filament-character-counter)[lara-zeus/quantity

filamentphp Input Number component, with user-friendly increment and decrement controls

2065.8k3](/packages/lara-zeus-quantity)[lara-zeus/qr

Zeus Qr Code Input to generate Qr Code with designing options for filamentPHP

5553.2k](/packages/lara-zeus-qr)[lara-zeus/inline-chart

Zeus Inline Chart easily add a chart in filamentPHP table column

2139.9k](/packages/lara-zeus-inline-chart)

PHPackages © 2026

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