定制 behat/transliterator 二次开发

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

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

behat/transliterator

最新稳定版本:v1.5.0

Composer 安装命令:

composer require behat/transliterator

包简介

String transliterator

README 文档

README

This package is abandoned

This package is now abandoned and will not receive further updates. The underlying transliteration dataset it is based on has not been updated since 2016, and there are now better options available. Additionally, there are some complications around licensing (see #3) due to the mixed licenses of the original packages it was based on.

Suggested alternatives include:

  • symfony/string for generating slugs
  • the native Transliterator class built into PHP's ext-intl for transliterating text. Unlike this package, that can also respect locale-dependent transliterations.
  • The //TRANSLIT feature of PHP's native iconv() extension (available by default)

Behat Transliterator provides transliteration utilities for PHP.

Transliteration data are ported from the Perl Text-Unidecode module.

License CI Total Downloads

Installation

The easiest way to install Behat is by using Composer:

composer require behat/transliterator

Usage

All features of the library are exposed as static public methods in the Behat\Transliterator\Transliterator class.

统计信息

  • 总下载量: 173.68M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2076
  • 点击次数: 5
  • 依赖项目数: 117
  • 推荐数: 4

GitHub 信息

  • Stars: 2064
  • Watchers: 14
  • Forks: 32
  • 开发语言: PHP

其他信息

  • 授权协议: Artistic-1.0
  • 更新时间: 2026-01-04