rimu / formatted-number
A Laravel Nova field.
Installs: 56 125
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 14
Forks: 1
Open Issues: 0
Language:Vue
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2024-10-26 02:20:04 UTC
README
This package allows the user to set up a field in Nova that is formatted using the numeral.js library.
Installation
You can install the package via composer:
composer require rimu/formatted-number
Usage
use Rimu\FormattedNumber; FormattedNumber::make('Price') ->format('0,0') // Defaults to "0,0"
License
The MIT License (MIT).