Home

Awesome

Iuliia

Software License Latest Version on Packagist Build Status

Transliterate Cyrillic → Latin in every possible way

This is the port of the incredible js library iuliia.

Why use Iuliia

Install

$ composer require anper/iuliia

Usage

use Anper\Iuliia\Iuliia;

echo Iuliia::translate('Юлия Щеглова', Iuliia::ICAO_DOC_9303);
// Iuliia Shcheglova

echo Iuliia::translate('Юлия Щеглова', Iuliia::WIKIPEDIA);
// Yuliya Shcheglova

Test

$ composer test

Development

schemas folder is the git submodule from general repository. You can add schemes manually and use building to generate code:

$ composer build

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.