PHPackages                             alexcrawford/lexorank-php - 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. alexcrawford/lexorank-php

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

alexcrawford/lexorank-php
=========================

PHP Implementation of JIRA's LexoRank algorithm.

2.0.0(3y ago)2879.1k—8.2%7[1 PRs](https://github.com/alexcrawford/lexorank-php/pulls)1MITPHPPHP ~8.0 || ~8.1 || ~8.2

Since May 4Pushed 1y ago3 watchersCompare

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

READMEChangelog (4)Dependencies (6)Versions (6)Used By (1)

lexorank
========

[](#lexorank)

> A simple PHP implementation of [xissy/lexorank](https://github.com/xissy/lexorank)

LexoRank is a ranking system introduced by Atlassian JIRA.

-

Background
----------

[](#background)

What is the best representation of an ordered list in a database? With a dumb order number based ranking system, re-ordering a row of a list may require updating all rows of the list in a transaction, which is O(n).

-
-

LexoRank makes it O(1). All you need to do is updating the re-ordered row's order field.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~295 days

Total

4

Last Release

1320d ago

Major Versions

1.0.2 → 2.0.02022-10-07

PHP version history (2 changes)1.0.0PHP &gt;=7.1

2.0.0PHP ~8.0 || ~8.1 || ~8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/22d88c45e26ab0ea01e2916177814fad067220a4d5dd1d28d223eca36f855ef2?d=identicon)[alexcrawford](/maintainers/alexcrawford)

---

Top Contributors

[![guidobonuzzi](https://avatars.githubusercontent.com/u/36542069?v=4)](https://github.com/guidobonuzzi "guidobonuzzi (8 commits)")[![alexcrawford](https://avatars.githubusercontent.com/u/4070024?v=4)](https://github.com/alexcrawford "alexcrawford (5 commits)")[![MarcoStagno](https://avatars.githubusercontent.com/u/5781949?v=4)](https://github.com/MarcoStagno "MarcoStagno (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alexcrawford-lexorank-php/health.svg)

```
[![Health](https://phpackages.com/badges/alexcrawford-lexorank-php/health.svg)](https://phpackages.com/packages/alexcrawford-lexorank-php)
```

###  Alternatives

[phpdocumentor/reflection-docblock

With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.

9.4k722.2M1.2k](/packages/phpdocumentor-reflection-docblock)[icanhazstring/composer-unused

Show unused packages by scanning your code

1.7k7.0M188](/packages/icanhazstring-composer-unused)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12521.4M109](/packages/phpdocumentor-reflection)[sylius/fixtures-bundle

Configurable fixtures for Symfony applications.

517.7M12](/packages/sylius-fixtures-bundle)[sylius/promotion

Flexible promotion management for PHP applications.

28477.8k9](/packages/sylius-promotion)

PHPackages © 2026

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