dev-master
9999999-devTransliterator Helper for Yii2.
MIT
The Requires
by Jasur Mirkhamidov
extension helper yii transliterator
Transliterator Helper for Yii2.
Extended from https://github.com/2amigos/yii2-transliterator-helper, (*1)
TransliteratorHelper transliterates UTF-8 encoded text to US-ASCII., (*2)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer.phar require "mirkhamidov/yii2-transliterator-helper": "*"
or add, (*5)
"mirkhamidov/yii2-transliterator-helper": "*"
to the require section of your application's composer.json
file., (*6)
Pass to the method process()
the UTF-8 encoded string you wish to transliterate:, (*7)
use mirkhamidov\transliterator\TransliteratorHelper; // will echo AAAAAAAECEEEEIIIIDNOOOOOUUUUYssaaaaaaaeceeeeiiiidnooooouuuuyy TransliteratorHelper::process('ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöùúûüýÿ', '', 'en'));
Transliterator Helper for Yii2.
MIT
extension helper yii transliterator