Converts cyrillic into latin using the correct transliteration rules
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
composer.json
cyrcho.php

README.md

Cyrcho

Converts cyrillic into latin using the correct transliteration rules

Several years ago I converted the original work of "Loshia" into a WordPress plugin called wp-cyr-cho. Since then on more than a few occasions I need to do the cyrillic-to-latin convertion, and each time I copied and pasted the "guts" of the WordPress plugin. I think it is time to create a re-usable standalone library ;)

Usage

There is only one public static method that does all the work, and it is very easy to use:

$latin = cyrcho::cyr2latin($cyrilic);