PHPackages                             galangaidilakbar/numeric-mask - 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. galangaidilakbar/numeric-mask

ActiveLibrary

galangaidilakbar/numeric-mask
=============================

A Laravel Nova field that automatically adds thousand separator dots while typing (e.g., 1000 becomes 1.000)

v1.0.0(1y ago)0109[1 issues](https://github.com/galangaidilakbar/NumericMask/issues)MITVuePHP ^7.3|^8.0

Since Jan 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/galangaidilakbar/NumericMask)[ Packagist](https://packagist.org/packages/galangaidilakbar/numeric-mask)[ RSS](/packages/galangaidilakbar-numeric-mask/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Laravel Nova Numeric Mask Field
===============================

[](#laravel-nova-numeric-mask-field)

A Laravel Nova field that automatically adds thousand separator dots while typing. Perfect for currency, quantities, or any numeric input that needs better readability.

[![Create Resource](docs/images/create.jpg)](docs/images/create.jpg)

Features
--------

[](#features)

- Real-time thousand separator formatting (e.g., 1000 → 1.000)
- Works with copy/paste
- Maintains numeric value in database
- Compatible with Laravel Nova 4.x

Requirements
------------

[](#requirements)

- Laravel Nova 4.x or higher
- PHP 7.3 or higher

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

[](#installation)

You can install the package via composer:

```
composer require galangaidilakbar/numeric-mask
```

Usage
-----

[](#usage)

```
use Galangaidilakbar\NumericMask\NumericMask;

public function fields(Request $request)
{
    return [
        NumericMask::make('Price'),
    ];
}
```

That will give you separate dots while typing in the input field.

### Displaying the value

[](#displaying-the-value)

Since we store the raw value in the database, you can do whatever you want with the value. For example, you can use the `currency` method from Laravel's `Number` class:

```
use Illuminate\Support\Number;
use Galangaidilakbar\NumericMask\NumericMask;

public function fields(Request $request)
{
    return [
        NumericMask::make("Price")->displayUsing(
            fn($value) => Number::currency($value)
        ),
    ];
}
```

That will display the value as a currency to be something like this: `$20,000.00`.

[![Show Resource](docs/images/show.jpg)](docs/images/show.jpg)

Credits
-------

[](#credits)

- [Galang Aidil Akbar](https://github.com/galangaidilakbar)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance41

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Every ~0 days

Total

2

Last Release

489d ago

Major Versions

v0.1.0 → v1.0.02025-01-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/34846ce6249a7254cc402075ee35d88cd56d99488b4cf6b1e01823ecea2b6007?d=identicon)[galangaidilakbar](/maintainers/galangaidilakbar)

---

Top Contributors

[![fab-galangaidilakbar](https://avatars.githubusercontent.com/u/193448492?v=4)](https://github.com/fab-galangaidilakbar "fab-galangaidilakbar (2 commits)")

---

Tags

laravelfieldnumericnovamasknumber\_formatthousand separator

### Embed Badge

![Health badge](/badges/galangaidilakbar-numeric-mask/health.svg)

```
[![Health](https://phpackages.com/badges/galangaidilakbar-numeric-mask/health.svg)](https://phpackages.com/packages/galangaidilakbar-numeric-mask)
```

###  Alternatives

[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[timothyasp/nova-color-field

A Laravel Nova Color Picker field.

781.6M5](/packages/timothyasp-nova-color-field)[wemersonrv/input-mask

A Laravel Nova custom field text with masks on input

1196.4k](/packages/wemersonrv-input-mask)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[stepanenko3/nova-json

Nova json field to spread a json column throughout multiple fields.

42249.7k](/packages/stepanenko3-nova-json)[optimistdigital/nova-notes-field

This Laravel Nova package adds a notes field to Nova's arsenal of fields.

52139.5k](/packages/optimistdigital-nova-notes-field)

PHPackages © 2026

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