kktsvetkov / cyrcho
Converts cyrillic into latin using the correct transliteration rules
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kktsvetkov/cyrcho
Requires
- php: >=5.2.0
This package is not auto-updated.
Last update: 2025-10-11 23:32:57 UTC
README
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);