xamani/nova-persian-number

Laravel Nova Number field with display of Persian letters.

Downloads

2

Stars

0

Version

0.0.1

Laravel Nova Number field with display of Persian letters

This package allows the user to set up a field in Nova that forms and converts numbers to Farsi letters.

Installation

You can install the package via composer:

composer require xamani/nova-persian-number

Usage

use Xamani\NovaPersianNumber;

PersianNumber::make('Price')
    ->format('0,0')   // Defaults to "0,0"
    ->moneyUnit('تومان') // You can also use the null value 

License

The MIT License (MIT).

xamani

Author

xamani