承接 hctilg/number-to-persian-text 相关项目开发

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

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

hctilg/number-to-persian-text

最新稳定版本:v1.0

Composer 安装命令:

composer require hctilg/number-to-persian-text

包简介

converts numbers to persian text.

README 文档

README

converts numbers to persian text.

Usage

Library

Simply use:

// checking the exists Library.
if (!file_exists("number-to-text.php")) {
  copy('https://raw.githubusercontent.com/hctilg/number-to-text/main/number-to-text.php', 'number-to-text.php');
}

// require Library.
require_once('number-to-text.php');

$input = '<Your Number>';

$output = number_to_text($input);

echo "Text: $output";

API

Send requests to /number-to-text.php.

Method Parameter
GET/POST string number

Preview

CLI

run php script:

php number-to-text.php

Preview


Test

Web

Go to the ./number-to-text folder and run php localhost:

php -S localhost:6040

then open the following url

http://localhost:6040/test.php

Preview

CLI

run php script:

php test.php

Preview

统计信息

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

GitHub 信息

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

其他信息

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