linguakit/arabic
最新稳定版本:v1.0.0
Composer 安装命令:
composer require linguakit/arabic
包简介
README 文档
README
Right now, this library only supports Arabic to Arabizi.
Installation
With Composer
composer require linguakit/arabic
Then include LinguaKit Arabic in your code:
include 'vendor/autoload.php'; use LinguaKit\Arabic\Arabic;
Without Composer
- Download source OR git clone
- Include the LinguaKit Arabic:
include 'src/arabic.class.php';
Documentation
Convert Arabic to Arabizi
/* Uncomment if you are not using composer include 'src/arabic.class.php'; */ include 'vendor/autoload.php'; // Comment out if you are not using Composer use LinguaKit\Arabic\Arabic; // Comment out if you are not using Composer $arabic = new Arabic(); $text = 'مرحبا بالعالم!'; $arabizi = $arabic->arabizi($text); echo $arabizi; // Returns "mr7baa baal3aalm!"
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-10-06