wannabestart / currency-blade
Package to formatting currency in blade view
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=5.6.4|>=8.0
- illuminate/support: >=5.4
- illuminate/view: >=5.4
README
This package can help you to format currency at blade directives.
Getting Started
Install
Run the following command:
composer require wannabestart/currency-blade
Usage
Blade Directives
General syntax
@formatcurrency('3CODE',MONEYVALUE)
Example using at Blade Directives
@formatcurrency('USD', 25000) // $25,000.00 @formatcurrency('IDR', 25000) // Rp25.000,00 @formatcurrency('', 25000) // If code NULL it will return its value
You can check your 3 code of currency here
Changelog
Please see Releases for more information what has changed recently.
Contributing
Pull requests are more than welcome. You must follow the PSR coding standards.
Security
If you discover any security related issues, You can issued on this repository.
Credits
License
The MIT License (MIT).