Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Sortable

Laravel Sortable Laravel Package

monurakkaya/laravel-sortable

A Laravel package for adding sortable behavior to Eloquent models. It provides convenient methods and query scopes to manage ordered records, reorder items, and persist sort positions with minimal configuration.

View on GitHub
Deep Wiki
Context7

Laravel Sortable is a lightweight package by monurakkaya that brings effortless, drag-and-drop-style ordering to your Eloquent models. Attach the provided trait to any model and it gains a sortable column plus intuitive methods for moving records up, down, to the top, or into any position — keeping values consistent as rows are inserted or removed.

Perfect for menus, galleries, FAQs, or any list where users control the sequence, the sorting logic stays in the model layer and remains easy to test.

  • Trait-based integration with any Eloquent model
  • Move items up, down, to top/bottom, or to a specific position
  • Query scopes for fetching records in the correct order
  • Configurable sort column and starting value
  • Automatic reindexing when records are added or deleted
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log