PHPackages                             vladis84/text-compare - 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. vladis84/text-compare

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

vladis84/text-compare
=====================

description\_text

0.0.1(7y ago)231MITPHPPHP &gt;=7.1CI failing

Since Jan 15Pushed 7y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Compare-text
============

[](#compare-text)

Библиотека для сравнения строк разными алгоритмами

Пример использования
--------------------

[](#пример-использования)

```
$comparison = new Comparison();

$comparison
    ->addFilter(new SpaceFilter)
    ->addDriver(new TanimotoDriver)
;

$result = $comparison->compare('Hello', [' hello ', 'HEL']);
```

Результат
---------

[](#результат)

```
$result = [
    'tanimoto' => [
        ['percent' => ***, 'needle' => 'Hello', 'haystack' => ' hello '],
        ['percent' => ***, 'needle' => 'Hello', 'haystack' => 'HEL'],
    ],
];
```

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2671d ago

### Community

Maintainers

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

---

Top Contributors

[![vladis84](https://avatars.githubusercontent.com/u/12462485?v=4)](https://github.com/vladis84 "vladis84 (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vladis84-text-compare/health.svg)

```
[![Health](https://phpackages.com/badges/vladis84-text-compare/health.svg)](https://phpackages.com/packages/vladis84-text-compare)
```

PHPackages © 2026

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