PHPackages                             robopuff/rating - 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. robopuff/rating

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

robopuff/rating
===============

An implementation of different rating systems

19PHP

Since Mar 29Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Rating
======

[](#rating)

Elo
---

[](#elo)

[![Build Status](https://camo.githubusercontent.com/d0ac3fa2b21407e578f975d0908efadbe14d67adeb5028f7890ae240c89ecd28/68747470733a2f2f7472617669732d63692e6f72672f726f626f707566662f726174696e672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/robopuff/rating)[![Coverage Status](https://camo.githubusercontent.com/ea9d1c3954232954a2b4829c92d840e7d7e77fb6ee446271a97718713de68aae/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f726f626f707566662f726174696e672f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/robopuff/rating?branch=master)

Based on Elo rating system, adapted to use over arrays

```
$elo = new Elo();
$results = $elo->ratePair(1500, 1500, Elo::RESULT_WON_A);
// $results = [1508, 1492];
```

```
$elo = new Elo();
$results = $elo->rateArray([
    // Place on the grid => Current rating
    0 => 1500, //1st place
    1 => 1500, //2nd place
    2 => 1500  //3rd place
    // ... Nth place
]);
// $results = [
//     0 => 1510,
//     1 => 1502,
//     2 => 1494,
//     n => ...
// ];
```

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80% 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://avatars.githubusercontent.com/u/730047?v=4)[Mateusz Łopaciński](/maintainers/robopuff)[@robopuff](https://github.com/robopuff)

---

Top Contributors

[![robopuff](https://avatars.githubusercontent.com/u/730047?v=4)](https://github.com/robopuff "robopuff (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/robopuff-rating/health.svg)

```
[![Health](https://phpackages.com/badges/robopuff-rating/health.svg)](https://phpackages.com/packages/robopuff-rating)
```

PHPackages © 2026

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