All Projects → fre5h → transliteration-php

fre5h / transliteration-php

Licence: MIT license
🇺🇦 🇬🇧 🔡 🐘 PHP library for transliteration.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to transliteration-php

trans
National characters transcription module.
Stars: ✭ 22 (-35.29%)
Mutual labels:  transliteration, translit, transliterate
Transliterate
Транслитерация для Laravel
Stars: ✭ 48 (+41.18%)
Mutual labels:  transliteration, ukraine, transliterate
iuliia-go
Transliterate Cyrillic → Latin in every possible way
Stars: ✭ 36 (+5.88%)
Mutual labels:  transliteration, translit
ukrainian-dotnet-communities
List of Ukrainian .NET communities
Stars: ✭ 16 (-52.94%)
Mutual labels:  ukraine, ukrainian
js-diacritic-regex
Creates the inverse of transliterated string to a regex. What? Basically, diacritic insensitiveness
Stars: ✭ 20 (-41.18%)
Mutual labels:  transliteration, transliterate
Deeptranslit
Efficient and easy to use transliteration for Indian languages
Stars: ✭ 41 (+20.59%)
Mutual labels:  transliteration, english
Inflected
A port of ActiveSupport's inflector to Node.js and the browser.
Stars: ✭ 144 (+323.53%)
Mutual labels:  transliteration
shell-extras
Extra Unix Shell Material
Stars: ✭ 22 (-35.29%)
Mutual labels:  english
Cyrillic To Translit Js
Ultra-lightweight JavaScript library for converting Cyrillic symbols to Translit and vice versa
Stars: ✭ 91 (+167.65%)
Mutual labels:  transliteration
Speakingurl
Generate a slug – transliteration with a lot of options
Stars: ✭ 1,056 (+3005.88%)
Mutual labels:  transliteration
database labs
initial set of databases labs
Stars: ✭ 19 (-44.12%)
Mutual labels:  ukrainian
say-it
TTS in command line -- Pronounce the Chinese and English words you typed in.
Stars: ✭ 19 (-44.12%)
Mutual labels:  english
ProjectEnglish
An open source project and an efficient way to improve Chinese programmer's English language skill
Stars: ✭ 105 (+208.82%)
Mutual labels:  english
Transliterate
Convert Unicode characters to Latin characters using transliteration
Stars: ✭ 152 (+347.06%)
Mutual labels:  transliteration
KanColle-English-Patch-KCCP
English Patch for the original KanColle browser game, to be used with KCCacheProxy. Translates most of the game into english.
Stars: ✭ 28 (-17.65%)
Mutual labels:  english
Mrz
Machine Readable Zone generator and checker for official travel documents sizes 1, 2, 3, MRVA and MRVB (Passports, Visas, national id cards and other travel documents)
Stars: ✭ 119 (+250%)
Mutual labels:  transliteration
Semantic-Textual-Similarity
Natural Language Processing using NLTK and Spacy
Stars: ✭ 30 (-11.76%)
Mutual labels:  english
Lipika Ime
Input Method Engine (IME) for Mac OS X with built-in support for all Indic Languages
Stars: ✭ 76 (+123.53%)
Mutual labels:  transliteration
Transliterate
Bi-directional transliterator for Python. Transliterates (unicode) strings according to the rules specified in the language packs.
Stars: ✭ 193 (+467.65%)
Mutual labels:  transliteration
styles
Styles for The Carpentries lessons. No README to avoid merge conflicts with lessons. Demo 👇
Stars: ✭ 72 (+111.76%)
Mutual labels:  english

Transliteration

PHP library for transliteration. 🇺🇦 🇬🇧 🔡 🐘

Scrutinizer Quality Score Build Status CodeCov License Latest Stable Version Total Downloads StyleCI Gitter

Requirements 🧐

  • PHP >= 8.1

Installation 🌱

composer req fresh/transliteration='~4.0'

Available transliteration methods 🎁

From To Rules
Ukrainian Latin Resolution of the Cabinet of Ministers of Ukraine №55 dated January 27, 2010
https://zakon.rada.gov.ua/laws/show/55-2010-%D0%BF#Text

Using 👨‍🎓

<?php

namespace Acme;

use Fresh\Transliteration\Transliterator;
use Fresh\Transliteration\UkrainianToLatin;

class Foo
{
    public function bar(string $text): void
    {
        // You can use in this way
        $transliterator = new Transliterator();
        $transliteratedText = $transliterator->ukrToLat($text);

        // Or like this
        $transliteratedText = UkrainianToLatin::transliterate($ukrainianText);
    }
}

Some examples of Ukrainian-to-Latin transliteration ℹ️

Ukrainian text Transliterated text
Володимир Volodymyr
Богдан Bohdan
Жанна Zhanna
Наталія Nataliia
Олексій Oleksii
Уляна Uliana
Юрій Yurii

Contributing 🤝

See CONTRIBUTING file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].