behat/transliterator
Abandoned PHP transliteration utility (ported from Perl Text-Unidecode). Provides static methods via Behat\Transliterator\Transliterator. Dataset hasn’t been updated since 2016; consider symfony/string, ext-intl Transliterator, or iconv //TRANSLIT.
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:
Transliterator class built into PHP's ext-intl for transliterating text.
Unlike this package, that can also respect locale-dependent transliterations.//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.
The easiest way to install Behat is by using Composer:
composer require behat/transliterator
All features of the library are exposed as static public methods in the Behat\Transliterator\Transliterator class.
How can I help you explore Laravel packages today?