This package can help you to format currency at blade directives.
Run the following command:
composer require wannabestart/currency-bladeGeneral 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 valueYou can check your 3 code of currency here
Please see Releases for more information what has changed recently.
Pull requests are more than welcome. You must follow the PSR coding standards.
If you discover any security related issues, You can issued on this repository.
The MIT License (MIT).