| Install | |
|---|---|
composer require nwidart/money-formatter-laravel |
A laravel integration of my MoneyFormatter package.
Via Composer
$ composer require nwidart/money-formatter-laravel
Add the service provider to config/app.php
'Nwidart\MoneyFormatterLaravel\MoneyFormatterServiceProvider'
Optional: Publish the configuration file
$ php artisan vendor:publish --provider="Nwidart\MoneyFormatterLaravel\MoneyFormatterServiceProvider"
Inject the MoneyFormatter class into your methods/constructors. Or use the MoneyFormatter Facade.
For information on the usage of the MoneyFormatter class, please refer to the original repository.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.