PHPackages                             sensitivesouris/simpletransliteration - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sensitivesouris/simpletransliteration

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sensitivesouris/simpletransliteration
=====================================

A simple library that transliterate text to selected language.

02PHP

Since Aug 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/sensitivesouris/simpletransliteration)[ Packagist](https://packagist.org/packages/sensitivesouris/simpletransliteration)[ RSS](/packages/sensitivesouris-simpletransliteration/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

SimpleTransliteration
=====================

[](#simpletransliteration)

**SimpleTransliteration** it's a library that helps with transliteration from one language to another.

Requirements
------------

[](#requirements)

> **PHP &gt;= 7.1**

Installtaion
------------

[](#installtaion)

Composer: `composer require sensitivesouris/simpletransliteration`

You can use this library without composer, but then you need to register an [autoloader function](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md#example-implementation).

Basic usage
-----------

[](#basic-usage)

```
$st = new IvanMuir\SimpleTransliteration\SimpleTransliteration();

$transliterized = $st->transliterate("ru", "en", "Съешь еще этих мягких французских булок, да выпей чаю.");

echo $transliterized; //Sesh eshche etih myagkih francuzskih bulok, da vypey chau.
```

Custom dictionaries
-------------------

[](#custom-dictionaries)

By default, there is only one dictionary that contains Cyrillic chars with their aliases in English. To add custom folder with more dictionaries use:

```
$st = new IvanMuir\SimpleTransliteration\SimpleTransliteration();

$st->setDictionariesLocation("path/to/dictionaries");
```

All dictionaries must me in `json` format, have name that contains *SourceLang*\_*OutputLang*, ex. `ru_en.json` and this structure:

```
{
  "А": "A",
  "Б": "B",
  "В": "V",
...
}

```

where first chat - input char and second char - output char.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/de1e3cb3b1ef9ff9dbfa9220e8ab1105d2641d2a543befdd644d4e748b245b08?d=identicon)[sensitivesouris](/maintainers/sensitivesouris)

---

Top Contributors

[![muirch](https://avatars.githubusercontent.com/u/20345694?v=4)](https://github.com/muirch "muirch (1 commits)")

### Embed Badge

![Health badge](/badges/sensitivesouris-simpletransliteration/health.svg)

```
[![Health](https://phpackages.com/badges/sensitivesouris-simpletransliteration/health.svg)](https://phpackages.com/packages/sensitivesouris-simpletransliteration)
```

###  Alternatives

[studioraz/magento2-category-image

Magento 2 module to add extra category images

2412.1k](/packages/studioraz-magento2-category-image)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
