PHPackages                             zaimea/ranks - 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. zaimea/ranks

ActiveLibrary

zaimea/ranks
============

The ZaimeaLabs Ranks package.

015PHPCI passing

Since Jan 5Pushed 4mo agoCompare

[ Source](https://github.com/ZaimeaLabs/ranks)[ Packagist](https://packagist.org/packages/zaimea/ranks)[ RSS](/packages/zaimea-ranks/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Ranks](.github/ranks.svg)](.github/ranks.svg)

 [![Build Status](https://github.com/zaimealabs/ranks/actions/workflows/tests.yml/badge.svg)](https://github.com/zaimealabs/ranks/actions) [![Total Downloads](https://camo.githubusercontent.com/2dfff971f8a7e38f34dcdffcdd31aeba6faaa63440a7e13159851f7b7d73867e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a61696d65612f72616e6b73)](https://packagist.org/packages/zaimea/ranks) [![Latest Stable Version](https://camo.githubusercontent.com/aec80efd31c171a030c9e7880b80f8ee7435b81522afb08330c2889fab17fdf9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a61696d65612f72616e6b73)](https://packagist.org/packages/zaimea/ranks) [![License](https://camo.githubusercontent.com/d1a3d22c924fbdd50ce871842fb880f580429e6c365c758b9beca91f239adca7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7a61696d65612f72616e6b73)](https://packagist.org/packages/zaimea/ranks)

 Hey 👋 thanks for considering making a donation, with these donations I can continue working to contribute to ZaimeaLabs projects. [![Donate](https://camo.githubusercontent.com/6d2c825ebd8feb08a414c231e9c72ec615d31df2f534196e4e2b4fc701da967b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5669615f50617950616c2d626c7565)](https://www.paypal.com/donate/?hosted_button_id=V6YPST5PUAUKS)

Introduction
------------

[](#introduction)

Ranks is a lightweight yet powerful package that allows you to generate rankings directly from your Eloquent models and queries. It computes positions, score totals, and rank ordering using optimized SQL window functions—without heavy computations in PHP.

This package is ideal for:

✅ Leaderboards and scoring systems ✅ Gamification features ✅ Ranking users, teams, or items ✅ Aggregated statistics over time ✅ Any application that requires fast, database-driven ranking logic

Official Documentation
----------------------

[](#official-documentation)

Documentation for Socialite-Extender can be found on the [Zaimea website](https://zaimea.com/docs/ranks).

Contributing
------------

[](#contributing)

Thank you for considering contributing to Socialite-Extender! The contribution guide can be found in the [Zaimea documentation](https://zaimea.com/docs/open-source/contributions).

Code of Conduct
---------------

[](#code-of-conduct)

To ensure that the Zaimea open-source ecosystem remains welcoming and respectful, please review and follow our [Code of Conduct](https://zaimea.com/docs/open-source/contributions#code-of-conduct).

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](https://github.com/zaimealabs/ranks/security/policy) on how to report security vulnerabilities.

Support
-------

[](#support)

For issues or suggestions: [GitHub Issues](https://github.com/zaimealabs/ranks/issues)

License
-------

[](#license)

Ranks is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance51

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity12

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://www.gravatar.com/avatar/2d02c3f8a7b7a3b4d0325cf772d00e57497a41fa1c51743533cb22119c627ba9?d=identicon)[Custura](/maintainers/Custura)

---

Top Contributors

[![custura](https://avatars.githubusercontent.com/u/127675571?v=4)](https://github.com/custura "custura (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/zaimea-ranks/health.svg)

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

PHPackages © 2026

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