PHPackages                             tugmaks/russian-text-uniqifier - 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. tugmaks/russian-text-uniqifier

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

tugmaks/russian-text-uniqifier
==============================

Class to uniqify russian text.

1221PHP

Since Dec 29Pushed 11y ago1 watchersCompare

[ Source](https://github.com/tugmaks/russian-text-uniqifier)[ Packagist](https://packagist.org/packages/tugmaks/russian-text-uniqifier)[ RSS](/packages/tugmaks-russian-text-uniqifier/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Russian text uniqifier
======================

[](#russian-text-uniqifier)

Class to uniqify russian text.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist tugmaks/russian-text-uniqifier "*"

```

or add

```
"tugmaks/russian-text-uniqifier": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once this class is installed, simply use it in your code by :

```
$text = "Что случилось с этим миром,
Или сдулся шар земной?
Все переменилось мигом -
Все случилось мирно,
Все промчалось мимо -
Я иду домой.
(Вниз головой).

Этот мир перевернулся,
И завис передо мной.
Вокруг света обернулся;
Убежал, вернулся,
Закричал, качнулся,
Я иду - я падаю, падаю, падаю вниз головой,
Я падаю вниз головой!

Прощай навсегда, шар земной!
Но мы расстаемся с тобой,
Со всей разноцветной листвой.
Я падаю вниз головой!
Со всей разноцветной листвой!
Прощай навсегда, шар земной,
Но мы расстаемся с тобой,
Со всей разноцветной листвой.
Я падаю вниз головой!

Ты, пожалуйста, не бойся
Так случается со мной.
Ни о чем не беспокойся -
На замок закройся,
С головой укройся -
Я иду домой,
Я иду домой,
Я иду домой";
$u = new tugmaks\RTU\Uniqifier($text,['encodings'=>[
    tugmaks\RTU\Uniqifier::MAP_LATIN,
    tugmaks\RTU\Uniqifier::MAP_GREEK,
    ]]);
echo $u->uniqify();
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/c3c489ffecb0524e5825675ae8a5d14cec43b2264b750c8a04e8674f9b3ce422?d=identicon)[tugmaks](/maintainers/tugmaks)

---

Top Contributors

[![tugmaks](https://avatars.githubusercontent.com/u/3036462?v=4)](https://github.com/tugmaks "tugmaks (15 commits)")

### Embed Badge

![Health badge](/badges/tugmaks-russian-text-uniqifier/health.svg)

```
[![Health](https://phpackages.com/badges/tugmaks-russian-text-uniqifier/health.svg)](https://phpackages.com/packages/tugmaks-russian-text-uniqifier)
```

###  Alternatives

[phamda/phamda

Auto-curried function library

1922.8k](/packages/phamda-phamda)

PHPackages © 2026

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