定制 mrvito/textify 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

mrvito/textify

最新稳定版本:v1.0.1

Composer 安装命令:

composer require mrvito/textify

包简介

Convert numbers and currency to a readable text

README 文档

README

Convert numbers and currency to a readable text

Installation

Just require the package from composer: require mrvito/textify

Usage

Create an instance of NumberToText class from a correct namespace for your language i.e. for english:

use MrVito\Textify\en_US\NumberToText;
$numberToText = NumberToText::getInstance();

And just use the method you want...:

$text = $numberToText->getText(123);

echo $text;

Outputs:

one hundred and twenty three

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-01