Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fre5h/transliteration-php
🇺🇦 🇬🇧 🔡 🐘 PHP library for transliteration.
https://github.com/fre5h/transliteration-php
english latin library php php-library translit transliterate transliterate-ukrainian transliteration ukraine ukrainian
Last synced: 7 days ago
JSON representation
🇺🇦 🇬🇧 🔡 🐘 PHP library for transliteration.
- Host: GitHub
- URL: https://github.com/fre5h/transliteration-php
- Owner: fre5h
- License: mit
- Created: 2013-12-15T14:53:53.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T14:04:19.000Z (6 months ago)
- Last Synced: 2024-10-11T13:12:53.840Z (28 days ago)
- Topics: english, latin, library, php, php-library, translit, transliterate, transliterate-ukrainian, transliteration, ukraine, ukrainian
- Language: PHP
- Homepage: https://github.com/fre5h/transliteration-php
- Size: 123 KB
- Stars: 48
- Watchers: 3
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Transliteration
PHP library for transliteration. 🇺🇦 🇬🇧 🔡 🐘
[![Scrutinizer Quality Score](https://img.shields.io/scrutinizer/g/fre5h/transliteration-php.svg?style=flat-square)](https://scrutinizer-ci.com/g/fre5h/transliteration-php/)
[![Build Status](https://img.shields.io/github/actions/workflow/status/fre5h/transliteration-php/ci.yaml?branch=main&style=flat-square)](https://github.com/fre5h/transliteration-php/actions?query=workflow%3ACI+branch%3Amain+)
[![CodeCov](https://img.shields.io/codecov/c/github/fre5h/transliteration-php.svg?style=flat-square)](https://codecov.io/github/fre5h/transliteration-php)
[![License](https://img.shields.io/packagist/l/fresh/transliteration.svg?style=flat-square)](https://packagist.org/packages/fresh/transliteration)
[![Latest Stable Version](https://img.shields.io/packagist/v/fresh/transliteration.svg?style=flat-square)](https://packagist.org/packages/fresh/transliteration)
[![Total Downloads](https://img.shields.io/packagist/dt/fresh/transliteration.svg?style=flat-square)](https://packagist.org/packages/fresh/transliteration)
[![StyleCI](https://styleci.io/repos/15205247/shield?style=flat-square)](https://styleci.io/repos/15205247)
[![Gitter](https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg?style=flat-square)](https://gitter.im/fre5h/transliteration-php)## 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
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](https://github.com/fre5h/transliteration/blob/master/.github/CONTRIBUTING.md) file.