Laravel integration for my MoneyFormatter Package
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
src
tests
.gitattributes
.gitignore
.php_cs
.scrutinizer.yml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
LICENSE.md
README.md
composer.json
phpunit.xml.dist

README.md

MoneyFormatter Laravel

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.