承接 cleveregg-digital/number-to-words 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cleveregg-digital/number-to-words

最新稳定版本:v3.1

Composer 安装命令:

composer require cleveregg-digital/number-to-words

包简介

Laravel Wrapper for kwn/number-to-words

README 文档

README

Total Downloads

PHP 8.x and Laravel Wrapper for kwn/number-to-words

Installation

You can install the package via composer:

composer require cleveregg-digital/number-to-words

Usage

To convert your number to words, simply call the static function on the NumberToWords facade.

\NumberToWords::toWords(5120); // outputs "five thousand one hundred twenty"

If you'd like to change the language, add the RFC 3066 language identifier in as a parameter.

\NumberToWords::toWords(5120, 'es'); // outputs "cinco mil ciento veinte"

To add currency, supply the ISO 4217 currency identifier

\NumberToWords::toWords(512000, 'en', 'USD'); // outputs "five thousand one hundred twenty dollars"

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 oliver@cleveregg.io instead of using the issue tracker.

Credits

License

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

统计信息

  • 总下载量: 57
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 34
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 34
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固