nwidart/money-formatter-laravel

Laravel Money formatter integration

1.1.0 2016-11-02 10:11 UTC

This package is auto-updated.

Last update: 2024-11-08 07:54:46 UTC


README

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

A laravel integration of my MoneyFormatter package.

Install

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"

Usage

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.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.