The transliterator helper for the Yii framework

Installs: 14 280

Dependents: 13

Suggesters: 0

Stars: 16

Watchers: 12

Forks: 4

Open Issues: 1

Type: yii2-extension

0.1.0 2014-01-17 15:55 UTC


Latest Stable Version Total Downloads Latest Unstable Version License

TransliteratorHelper transliterates UTF-8 encoded text to US-ASCII.

For a Yii 1.* version, please check this other repository.


The preferred way to install this extension is through composer.

Either run

php composer.phar require "2amigos/yii2-transliterator-helper": "*"

or add

"2amigos/yii2-transliterator-helper": "*"

to the require section of your application's composer.json file.


Pass to the method process() the UTF-8 encoded string you wish to transliterate:

use dosamigos\transliterator\TransliteratorHelper;

// will echo AAAAAAAECEEEEIIIIDNOOOOOUUUUYssaaaaaaaeceeeeiiiidnooooouuuuyy
TransliteratorHelper::process('ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöùúûüýÿ', '', 'en'));

Web development has never been so fun! www.2amigos.us