rimu / formatted-number

A Laravel Nova field.

Stars
0

Laravel Nova Formatted Number Field

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).