nwidart / money-formatter-laravel
Laravel Money formatter integration
1.1.0
2016-11-02 10:11 UTC
Requires
- php: >=5.4.0
- illuminate/support: ~5.0
- nwidart/money-formatter: ~1.0
Requires (Dev)
- orchestra/testbench: ~3.0
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
This package is auto-updated.
Last update: 2024-11-08 07:54:46 UTC
README
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.