sfneal/currency

Helper functions for dealing with currency conversions in Laravel applications

2.0.1 2021-08-31 19:15 UTC

This package is auto-updated.

Last update: 2024-11-29 06:35:24 UTC


README

Packagist PHP support Latest Version on Packagist Build Status Scrutinizer Code Quality StyleCI Total Downloads

Helper functions for dealing with currency conversions in Laravel applications.

Installation

You can install the package via composer:

composer require sfneal/currency

Usage

use Sfneal\Currency\FormatDollars;
FormatDollars::execute(43.654284, 2, '', true);
>>> $43.65

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email stephen.neal14@gmail.com instead of using the issue tracker.

Credits

License

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

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate.