PHPackages                             famelo/string-score - 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. famelo/string-score

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

famelo/string-score
===================

Extension to fetch Avatars from different sources

2.0.0(10y ago)0155PHPPHP &gt;=5.3.0

Since Jun 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/mneuhaus/Famelo-StringScore)[ Packagist](https://packagist.org/packages/famelo/string-score)[ Docs](https://github.com/mneuhaus/Famelo-StringScore)[ RSS](/packages/famelo-string-score/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Famelo.StringScore
==================

[](#famelostringscore)

Quicksilver style string scoring based on [https://github.com/joshaven/string\_score](https://github.com/joshaven/string_score)

Examples
--------

[](#examples)

```

use Famelo\StringScore\StringScore;

StringScore::score("hello world", "axl") //=> 0
StringScore::score("hello world", "ow")  //=> 0.35454545454545455

// And then there is fuzziness
StringScore::score("hello world", "hello wor1")  	//=>0  (the "1" in place of the "l" makes a mismatch)
StringScore::score("hello world", "hello wor1",0.5)  //=>0.6081818181818182 (fuzzy)

// Considers string length
StringScore::score('Hello', 'h') //=>0.52
StringScore::score('He', 'h')    //=>0.6249999999999999  (better match becaus string length is closer)

// Same case matches better than wrong case
StringScore::score('Hello', 'h') //=>0.52
StringScore::score('Hello', 'H') //=>0.5800000000000001

// Acronyms are given a little more weight
StringScore::score("Hillsdale Michigan", "HiMi") > "Hillsdale Michigan", "Hills")
StringScore::score("Hillsdale Michigan", "HiMi") < "Hillsdale Michigan", "Hillsd")

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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 ~626 days

Total

2

Last Release

3737d ago

Major Versions

1.0.0 → 2.0.02016-02-22

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/famelo-string-score/health.svg)

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

###  Alternatives

[tholu/php-packer

A PHP version of Packer, JavaScript obfuscation library originally created by Dean Edwards

137441.2k5](/packages/tholu-php-packer)[daixianceng/yii2-smser

Yii2 SMS extension

862.9k1](/packages/daixianceng-yii2-smser)

PHPackages © 2026

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