pion/laravel-eloquent-position
A Laravel Eloquent package that adds sortable position columns to your models. Automatically manage record ordering, move items up, down, or to a specific position, and query models in sequence with minimal setup. Useful for drag-and-drop lists, menus, and any ordered data.
position column, model trait, deterministic backfill, scopes, and index changes. A short compatibility spike is mandatory given the 2021 release, 9 stars, and 0 dependents.position column, backfill deterministic order per scope, add a composite index such as (scope_id, position), then enforce non-null where appropriate. Integrate the package behind an app-level interface, service, or custom base model so the trait can be replaced or forked without touching domain code.How can I help you explore Laravel packages today?