nwidart/money-formatter-laravel

Laravel 货币格式化集成

1.1.0 2016-11-02 10:11 UTC

This package is auto-updated.

Last update: 2024-09-08 07:16:59 UTC


README

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

这是我的MoneyFormatter包的 Laravel 集成。

安装

通过 Composer

$ composer require nwidart/money-formatter-laravel

将服务提供者添加到 config/app.php

'Nwidart\MoneyFormatterLaravel\MoneyFormatterServiceProvider'

可选:发布配置文件

$ php artisan vendor:publish --provider="Nwidart\MoneyFormatterLaravel\MoneyFormatterServiceProvider"

用法

MoneyFormatter 类注入到你的方法/构造函数中。或者使用 MoneyFormatter Facade。

有关 MoneyFormatter 类的用法信息,请参阅原始仓库

贡献

请参阅CONTRIBUTING 获取详细信息。

致谢

许可

MIT 许可证 (MIT)。有关更多信息,请参阅许可文件