laravelwebdev / numeric
A Laravel Nova field.
Installs: 35
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 7
Language:Vue
pkg:composer/laravelwebdev/numeric
Requires
- php: ^7.3|^8.0
- dev-main
- 1.0.1
- 1.0.0
- dev-dependabot/npm_and_yarn/node-forge-1.3.2
- dev-dependabot/npm_and_yarn/multi-96c788614a
- dev-dependabot/npm_and_yarn/sha.js-2.4.12
- dev-dependabot/npm_and_yarn/http-proxy-middleware-2.0.9
- dev-dependabot/npm_and_yarn/pbkdf2-3.1.3
- dev-dependabot/npm_and_yarn/form-data-4.0.4
- dev-dependabot/npm_and_yarn/axios-0.30.1
This package is auto-updated.
Last update: 2025-11-27 06:35:42 UTC
README
A Laravel Nova field that automatically adds thousand separator. Perfect for currency, quantities, or any numeric input that needs better readability.
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
- Laravel Nova 4.x or higher
- PHP 7.3 or higher
Installation
You can install the package via composer:
composer require laravelwebdev/numeric
Usage
use Laravelwebdev\Numeric\Numeric; public function fields(Request $request) { return [ Numeric::make('Price'), ]; }
To change the separator:
use Laravelwebdev\Numeric\Numeric; public function fields(Request $request) { return [ Numeric::make('Price')->separator(' '), ]; }
That will give you separate space while typing in the input field.
License
The MIT License (MIT).
