定制 pnlinh/vietnamese-converter 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

pnlinh/vietnamese-converter

最新稳定版本:v1.2

Composer 安装命令:

composer require pnlinh/vietnamese-converter

包简介

A php class that converts Vietnamese characters into different character set

README 文档

README

StyleCI

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

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 3
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固