behat/transliterator
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|
Behat/Transliterator is a PHP package that provides transliteration utilities. It serves the purpose of transforming text from one script to another, often in a phonetic manner. The transliteration data used by this package is ported from the Perl Text-Unidecode module, offering reliable performance.
To use Behat/Transliterator, you need to first install the package using Composer. You can do it with the the following command:
composer require behat/transliterator
After it's been installed, you can make use of the transliteration features by leveraging the static public methods in the Behat\Transliterator\Transliterator
class. Here is a simple example on how to use it:
<?php
use Behat\Transliterator\Transliterator;
echo Transliterator::transliterate('Українська мова');
Remember to call the transliterate function which converts input into transliterated forms.
The documentation for the Behat/Transliterator package can be found directly in the GitHub repository. Unfortunately, the readme file doesn't provide a separate link to extensive technical documentation. However, the usage of the library is fairly straightforward and users can find usage examples and full method reference directly in the source code of the Behat\Transliterator\Transliterator
class.