alexcrawford/lexorank-php

PHP Implementation of JIRA's LexoRank algorithm.

Maintainers

Package info

github.com/alexcrawford/lexorank-php

Type:project

pkg:composer/alexcrawford/lexorank-php

Statistics

Installs: 77 484

Dependents: 1

Suggesters: 0

Stars: 28

Open Issues: 1

2.0.0 2022-10-07 14:26 UTC

This package is auto-updated.

Last update: 2026-03-06 18:55:55 UTC


README

A simple PHP implementation of xissy/lexorank

LexoRank is a ranking system introduced by Atlassian JIRA.

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.