Skip to content

WannaBeStart/currency-blade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel package for formatting currency at blade view

Downloads

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).

Still improving to update new feature 🔥

About

Laravel Package for formatting currency at blade view

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages