behat/transliterator
String transliterator
Maintainers
Requires
- php: >=7.2
Requires (Dev)
- chuyskywalker/rolling-curl: ^3.1
- php-yaoi/php-yaoi: ^1.0
- phpunit/phpunit: ^8.5.25 || ^9.5.19
Suggests
None
Provides
None
Conflicts
None
Replaces
None
Artistic-1.0 baac5873bac3749887d28ab68e2f74db3a4408af
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
Transliteratorclass built into PHP'sext-intlfor transliterating text. Unlike this package, that can also respect locale-dependent transliterations. - The
//TRANSLITfeature of PHP's nativeiconv()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.
