Download the PHP package sumflyhighlab/text-combine-number without Composer
On this page you can find all versions of the php package sumflyhighlab/text-combine-number. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sumflyhighlab/text-combine-number
More information about sumflyhighlab/text-combine-number
Files in sumflyhighlab/text-combine-number
Package text-combine-number
Short Description A Laravel Nova field.
License MIT
Informations about the package text-combine-number
An advanced number field for Laravel Nova. Inspirited by simplesquid/nova-advanced-number-field and decency-be/nova-input-group
A Laravel Nova field which adds additional functionality to the default Number field by using PHP's number_format()
function.
Installation
You can install this package in a Laravel app that uses Nova via composer:
Usage
The TextCombineNumber
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.
You can use the field in your Nova resource like so:
Credits
Package skeleton based on simplesquid/nova-advanced-number-field.
About us
This package just build for fun
License
The MIT License (MIT). Please see License File for more information.