lathanhvien/nova-text-currency
最新稳定版本:v1.0.0
Composer 安装命令:
composer require lathanhvien/nova-text-currency
包简介
A Laravel Nova field to display currency number format.
关键字:
README 文档
README
Installation
$ composer require lathanhvien/nova-text-currency
Usage
use Pifpif\NovaTextCurrency\Currency; Currency::make('Total','total')->sign('8364'), Or: Currency::make('Total','total'),
Configuration
Optional function sign create currency symbol, base on decimal currency symbol code. It will show on 3 pages: Index, Detail, Form (edit or create)! Example:
Currency::make('Total','total')->sign('8364'),
Will create Euro currency symbol. You can use more currency symbol by reference UTF-8 Currency Symbols
If just use Dollar symbol, use it by default:
Currency::make('Total','total'),
Or without any symbol, use it by this:
Currency::make('Total','total')->sign('32'),
Support
If you have any ideas about this package, feel free to contact me at gmail: b.thanhdung@gmail.com or skype: xprotoprotox
License
This package is available under the MIT license.
统计信息
- 总下载量: 9.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-08-22