PHPackages                             96qbhy/like-string - 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. 96qbhy/like-string

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

96qbhy/like-string
==================

简单的字符串相似度匹配函数。

1.0.1(8y ago)24571MITPHP

Since Aug 12Pushed 8y agoCompare

[ Source](https://github.com/96qbhy/like-string)[ Packagist](https://packagist.org/packages/96qbhy/like-string)[ RSS](/packages/96qbhy-like-string/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

like-string
===========

[](#like-string)

简单的相似字符串处理库

安装
--

[](#安装)

```
$ composer require 96qbhy/like-string
```

使用
--

[](#使用)

```
require 'vendor/autoload.php';

use \Qbhy\LikeString\LikeString;

$bool = LikeString::formatFullMatch('qbhy', 'qbh7') ? 'true' : 'false';
//print_r($bool);

$numeric = LikeString::generateNumeric('aabbccdd');

print_r($numeric);
//like 22445577
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

Every ~0 days

Total

4

Last Release

3244d ago

Major Versions

0.0.2 → 1.0.02017-08-12

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24204533?v=4)[桥边红药](/maintainers/qbhy)[@qbhy](https://github.com/qbhy)

---

Top Contributors

[![qbhy](https://avatars.githubusercontent.com/u/24204533?v=4)](https://github.com/qbhy "qbhy (6 commits)")

---

Tags

stringlike-string

### Embed Badge

![Health badge](/badges/96qbhy-like-string/health.svg)

```
[![Health](https://phpackages.com/badges/96qbhy-like-string/health.svg)](https://phpackages.com/packages/96qbhy-like-string)
```

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k417.9M1.7k](/packages/nette-utils)[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.2M192](/packages/danielstjules-stringy)[spatie/string

String handling evolved

5604.6M24](/packages/spatie-string)[kwn/number-to-words

Multi language standalone PHP number to words converter. Fully tested, open for extensions and new languages.

4285.3M23](/packages/kwn-number-to-words)[coduo/php-to-string

Simple library that converts PHP value into strings

26913.1M13](/packages/coduo-php-to-string)[opis/string

Multibyte strings as objects

7424.5M8](/packages/opis-string)

PHPackages © 2026

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