pnlinh/vietnamese-converter
最新稳定版本:v1.2
Composer 安装命令:
composer require pnlinh/vietnamese-converter
包简介
A php class that converts Vietnamese characters into different character set
README 文档
README
Installation
Require this package with composer.
composer require pnlinh/vietnamese-converter
Usage
<?php require_once __DIR__ . '/vendor/autoload.php'; use Pnlinh\VietnameseConverter\VietnameseConverter; $output = VietnameseConverter::make() ->convert('Tôi tên là Ngô Chí Dũng. Người đã tạo ra cái phần mềm này.'); echo $output; // Toi ten la Ngo Chi Dung. Nguoi da tao ra cai phan mem nay.
Available Methods
- convert($input) - convert($input, 'unicode', 'virq'); - convert($input, 'unicode', 'vnet'); - convert($input, 'unicode', 'vni'); - convert($input, 'unicode', 'ascii'); - tolower($input) - toupper($input) - ucfirst($input) - ucwords($input) $input is a unicode string
Test
composer test
Credits
License
The MIT License (MIT)
统计信息
- 总下载量: 72
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-05