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
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-01