dev-master
9999999-devTransliterator Helper for Yii 1.*.
BSD-3-Clause
The Requires
- php >= 5.3.0
- yiisoft/yii 1.1.*
helper yii
Transliterator Helper for Yii 1.*.
Transliterator Helper transliterates UTF-8 encoded text to US-ASCII, (*1)
Adapted for PHP 5.3 by koftikes., (*2)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
composer require sbs/transliterator-helper
or add, (*5)
"sbs/transliterator-helper": "^1.0"
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 dosamigos\yii\helpers\TransliteratorHelper; // will echo AAAAAAAECEEEEIIIIDNOOOOOUUUUYssaaaaaaaeceeeeiiiidnooooouuuuyy TransliteratorHelper::process('ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöùúûüýÿ', '', 'en'));
Transliterator Helper for Yii 1.*.
BSD-3-Clause
helper yii