marcuschristiansen/formatted-number

A Laravel Nova field.

Maintainers

Package info

github.com/marcuschristiansen/laravel-nova-formatted-number

Issues

Language:Vue

pkg:composer/marcuschristiansen/formatted-number

Statistics

Installs: 73

Dependents: 0

Suggesters: 0

Stars: 2

0.2 2019-10-25 12:15 UTC

This package is auto-updated.

Last update: 2026-03-23 03:47:20 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).