承接 sujalpatel/inttoenglish 相关项目开发

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

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

sujalpatel/inttoenglish

最新稳定版本:v1.0.4

Composer 安装命令:

composer require sujalpatel/inttoenglish

包简介

Convert Integers to English Words

README 文档

README

Latest Version on Packagist Build Status Quality Score Total Downloads

Laravel package for converting numeric value to english words.

Installation

You can install the package via composer:

composer require sujalpatel/inttoenglish

Usage

IntToEnglish::Int2Eng(1000); // One Thousand
IntToEnglish::Int2Eng(10500); // Ten Thousand Five hundred

Example

Controller

use Illuminate\Http\Request;
use SujalPatel\IntToEnglish\IntToEnglish;

class TestController extends Controller
{
    public function index() {
            echo IntToEnglish::Int2Eng(4500000); //Four Million Five Hundred Thousand 
    }
}

Route

Route::get('/', 'TestController@index');

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email sujalpatel022@gmail.com instead of using the issue tracker.

Credits

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-24