承接 waqar/numbertowords 相关项目开发

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

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

waqar/numbertowords

最新稳定版本:1.0

Composer 安装命令:

composer require waqar/numbertowords

包简介

A simple modified number to word

README 文档

README

Laravel package for converting numeric value to english words.

Installation

To install the package, simply require it using Composer:

composer require waqar/numbertowords    

Publish configuration files

php artisan vendor:publish --tag=config

Usage

NumberToWord::number2Word(10000)  Ten Thousand
NumberToWord::number2Word(10250)  Ten Thousand Two Hundred Fifty

Example

Like below:

class TestController extends Controller
{
    public function index() {
            echo NumberToWord::number2Word(10250); //Ten Thousand Two Hundred Fifty 
    }
}

Support

If you encounter any issues with this package, please open an issue on the GitHub repository or contact us at waqarhussainkhalid@gmail.com.

I hope this example description helps you write your own README file! Let me know if you have any other questions.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-23