PHPackages                             simplesquid/nova-advanced-number-field - 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. simplesquid/nova-advanced-number-field

ActiveLibrary

simplesquid/nova-advanced-number-field
======================================

A Laravel Nova field which adds additional functionality to the default Number field.

v3.3.0(1y ago)11162.7k—3.7%13[1 PRs](https://github.com/simplesquid/nova-advanced-number-field/pulls)1MITPHPPHP ^8.2CI passing

Since Sep 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/simplesquid/nova-advanced-number-field)[ Packagist](https://packagist.org/packages/simplesquid/nova-advanced-number-field)[ Docs](https://github.com/simplesquid/nova-advanced-number-field)[ RSS](/packages/simplesquid-nova-advanced-number-field/feed)WikiDiscussions main Synced 1mo ago

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

An advanced number field for Laravel Nova
=========================================

[](#an-advanced-number-field-for-laravel-nova)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7963c1674c7ec7afb0d5484ca1620c5a0fe097dd4b1fd5c0e2fe587ed74661b0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696d706c6573717569642f6e6f76612d616476616e6365642d6e756d6265722d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simplesquid/nova-advanced-number-field)[![Tests](https://github.com/simplesquid/nova-advanced-number-field/actions/workflows/run-tests.yml/badge.svg)](https://github.com/simplesquid/nova-advanced-number-field/actions/workflows/run-tests.yml)[![Code styling](https://github.com/simplesquid/nova-advanced-number-field/actions/workflows/code-style.yml/badge.svg)](https://github.com/simplesquid/nova-advanced-number-field/actions/workflows/code-style.yml)[![MIT License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/39217e017924e79b4301c22d71fbbc629ba4d85d73ca3349b842dd6204a8574b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73696d706c6573717569642f6e6f76612d616476616e6365642d6e756d6265722d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simplesquid/nova-advanced-number-field)

A Laravel Nova field which adds additional functionality to the default Number field by using PHP's `number_format()` function.

[![Screenshot of the advanced number field](https://github.com/simplesquid/nova-advanced-number-field/raw/main/docs/screenshot.png)](https://github.com/simplesquid/nova-advanced-number-field/raw/main/docs/screenshot.png)

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

[](#installation)

You can install this package in a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require simplesquid/nova-advanced-number-field
```

Usage
-----

[](#usage)

The `AdvancedNumber` field provides an additional 5 methods to the default `Number` field, namely:

- `->prefix('$')`: Sets the prefix to be used when displaying the number.
- `->thousandsSeparator(' ')`: Set the thousands separator symbol to be used when displaying the number.
- `->decimalPoint('.')`: Sets the decimal point symbol to be used when displaying the number.
- `->decimals(3)`: Sets the number of decimal points to be used as well as the step value.
- `->suffix('%')`: Sets the suffix to be used when displaying the number.

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)

- [Matthew Poulter](https://github.com/mdpoulter)
- [All Contributors](../../contributors)

Package skeleton based on [spatie/skeleton-php](https://github.com/spatie/skeleton-php).

About us
--------

[](#about-us)

SimpleSquid is a small web development and design company based in Valkenburg, Netherlands.

License
-------

[](#license)

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

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance46

Moderate activity, may be stable

Popularity42

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity76

Established project with proven stability

 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 ~289 days

Recently: every ~449 days

Total

8

Last Release

417d ago

Major Versions

v1.1.1 → v2.0.02020-04-25

v2.0.0 → v3.0.02022-11-29

PHP version history (6 changes)v1.0.3PHP &gt;=7.1.0

v1.1.0PHP ^7.3

v2.0.0PHP &gt;=7.3.0

v3.0.0PHP ^8.0

v3.2.0PHP ^8.1

v3.3.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/e90efcfce673cabc08f0101ee076b8060508c33e7693c048d58e44e4a53b2300?d=identicon)[simplesquid](/maintainers/simplesquid)

---

Top Contributors

[![mdpoulter](https://avatars.githubusercontent.com/u/1091085?v=4)](https://github.com/mdpoulter "mdpoulter (31 commits)")

---

Tags

laravellaravel-nova-fieldnovanumbernumber-formatlaravelfieldnumbernovasimplesquidnova-advanced-number-field

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/simplesquid-nova-advanced-number-field/health.svg)

```
[![Health](https://phpackages.com/badges/simplesquid-nova-advanced-number-field/health.svg)](https://phpackages.com/packages/simplesquid-nova-advanced-number-field)
```

###  Alternatives

[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[simplesquid/nova-enum-field

A Laravel Nova field to add enums to resources.

52391.9k2](/packages/simplesquid-nova-enum-field)[dniccum/phone-number

A Laravel Nova phone number field with input masking and validation support.

71432.7k](/packages/dniccum-phone-number)[laravel/nova-log-viewer

A Laravel Nova tool for viewing your application logs.

136301.3k1](/packages/laravel-nova-log-viewer)[dniccum/nova-documentation

A Laravel Nova tool that allows you to add markdown-based documentation to your administrator's dashboard.

37116.4k](/packages/dniccum-nova-documentation)[stepanenko3/nova-json

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

42249.7k](/packages/stepanenko3-nova-json)

PHPackages © 2026

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