rtablada/eloquent-rankable
A lightweight Laravel trait that adds sortable rank to Eloquent models. Keep an order in a rank column, move records up or down, and fetch ranked lists without writing custom SQL. Simple trait-based setup for menus, galleries, and any admin-sorted content, with no complex configuration.
Eloquent Rankable is a lightweight Laravel package that adds ranking behavior to Eloquent models through a reusable trait. It stores each record’s position in a rank column, making it easy to order and reorder items without writing custom sorting logic.
Use it for sortable lists, prioritized content, or any model that needs a persistent position.
How can I help you explore Laravel packages today?