amirhxssein/persian-digit
Composer 安装命令:
composer require amirhxssein/persian-digit
包简介
A simple tool for converting Persian digits to English digits and vice versa.
README 文档
README
Description
This PHP package allows you to convert Persian digits to English digits and vice versa. It's a handy tool for developers working with Persian and English digit representations.
Installation
You can install the package via Composer. Run the following command in your terminal:
composer require amirhxssein/persian-digit
Usage
use Amiros\PersianDigit\PersianDigit; // Persian To English $text = '۰۱۲۳۴۵۶۷۸۹'; $convertedText = PersianDigit::convert($text); // English to Persian $text = '0123456789'; $convertedText = PersianDigit::convert($text, "fa");
License
The Laravel framework is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-20