PHPackages                             sourceability/string-matcher - 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. sourceability/string-matcher

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

sourceability/string-matcher
============================

A library which makes it easy to use multiple approaches to find the best matching string

0.2.1(5y ago)11537.6k↓85.3%2MITPHPPHP &gt;=7.2CI failing

Since Sep 30Pushed 4y ago3 watchersCompare

[ Source](https://github.com/sourceability/string-matcher)[ Packagist](https://packagist.org/packages/sourceability/string-matcher)[ RSS](/packages/sourceability-string-matcher/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (8)Versions (5)Used By (0)

 [![Project logo](https://camo.githubusercontent.com/f48c960edee4eb081c0b713eb8a936e6b65d4f5b5bfd74023804543b07437f0a/68747470733a2f2f692e696d6775722e636f6d2f6c346b78364b422e706e67)](https://camo.githubusercontent.com/f48c960edee4eb081c0b713eb8a936e6b65d4f5b5bfd74023804543b07437f0a/68747470733a2f2f692e696d6775722e636f6d2f6c346b78364b422e706e67)

### String Matcher

[](#string-matcher)

[![Packagist](https://camo.githubusercontent.com/8ccfce75336c9475ee57b3513c2b5e8eb38639337e6311084f9446dbda847a0f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f757263656162696c6974792f737472696e672d6d617463686572)](https://packagist.org/packages/sourceability/string-matcher)![Status](https://camo.githubusercontent.com/263f3694f42afc27e06a1ff829cd63884893b55624e13a16893dd0a3ba772b94/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d6163746976652d737563636573732e737667)[![Build Status](https://camo.githubusercontent.com/6df13c0b05bed05890d28bd0a93ad63800afac3a0043fdeab43ebffb1837c2ca/68747470733a2f2f7472617669732d63692e6f72672f736f757263656162696c6974792f737472696e672d6d6174636865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sourceability/string-matcher)[![GitHub Issues](https://camo.githubusercontent.com/26ec18c3276952e85830039033c880d77c0c7b7a1719af6cc09031f72fdcaf7f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f736f757263656162696c6974792f737472696e672d6d6174636865722e737667)](https://github.com/sourceability/string-matcher/issues)[![GitHub Pull Requests](https://camo.githubusercontent.com/370c1016c68ee07856065dec0e93a937e5c4edc9b13431c6bb8bc041034cae1e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f736f757263656162696c6974792f737472696e672d6d6174636865722e737667)](https://github.com/sourceability/string-matcher/pulls)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](/LICENSE)

---

 A PHP library that will help you to find known matches for an unknown string using a variety of algorithms and techniques.

### Prerequisites

[](#prerequisites)

- PHP 7.2 or higher

🏁 Getting Started
-----------------

[](#-getting-started)

```
composer require sourceability/string-matcher

```

You can see examples of how to use this project in the [examples](/examples) directory.

🔧 Contributing
--------------

[](#-contributing)

To run the phpunit suite:

```
make tests-unit

```

To run the CS checks:

```
make cs-checks

```

To fix automatically resolveable CS issues:

```
make cs-fix

```

To run static analysis:

```
make static-analysis

```

✍️ Authors
----------

[](#️-authors)

See the list of [contributors](https://github.com/sourceability/string-matcher/contributors) who participated in this project.

### LiquidMetal Algorithm Originators

[](#liquidmetal-algorithm-originators)

- Ryan McGeary [LiquidMetal-JS](https://github.com/rmm5t/liquidmetal)
- Kevin Jantzer [LiquidMetal-PHP](https://github.com/kjantzer/liquidmetal-php)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~253 days

Total

3

Last Release

1961d ago

PHP version history (2 changes)0.1.0PHP ^7.2

0.2.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/014b3653b1f38cb85fa553f23e32a10a9584fee5dc80c7be2d01900202045033?d=identicon)[AdrienBrault](/maintainers/AdrienBrault)

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

---

Top Contributors

[![johnmadrak](https://avatars.githubusercontent.com/u/2885480?v=4)](https://github.com/johnmadrak "johnmadrak (3 commits)")[![webdevel](https://avatars.githubusercontent.com/u/1288852?v=4)](https://github.com/webdevel "webdevel (3 commits)")[![magikid](https://avatars.githubusercontent.com/u/115515?v=4)](https://github.com/magikid "magikid (1 commits)")

---

Tags

string-matching

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sourceability-string-matcher/health.svg)

```
[![Health](https://phpackages.com/badges/sourceability-string-matcher/health.svg)](https://phpackages.com/packages/sourceability-string-matcher)
```

###  Alternatives

[morilog/jalali

This Package helps developers to easily work with Jalali (Shamsi or Iranian) dates in PHP applications, based on Jalali (Shamsi) DateTime class.

9391.3M53](/packages/morilog-jalali)[nikolaposa/version

Value Object that represents a SemVer-compliant version number.

1407.3M23](/packages/nikolaposa-version)[prooph/common

Common classes used across prooph packages

842.2M28](/packages/prooph-common)[tomasnorre/crawler

Crawler extension for TYPO3

57428.7k1](/packages/tomasnorre-crawler)[foxxmd/laravel-elasticbeanstalk-cron

Ensure only one Laravel instance is running CRON jobs in an EB environment

62311.8k](/packages/foxxmd-laravel-elasticbeanstalk-cron)[funeralzone/valueobjects

A PHP 7.1 value objects helper library.

66706.9k24](/packages/funeralzone-valueobjects)

PHPackages © 2026

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