quadrubo/eloquent-autosort
A Laravel package that adds automatic sorting to Eloquent models, helping keep records ordered by configurable sort columns with minimal setup and less manual ordering code.
quadrubo/eloquent-autosort adds automatic, self-maintaining ordering to Eloquent models. Attach the trait and a sort column, and positions stay contiguous as records are created, moved, or deleted—no manual max(position) + 1 queries.
How can I help you explore Laravel packages today?