spatie/eloquent-sortable
Add sortable behavior to Laravel Eloquent models via a trait. Automatically sets an order column on create (max + 1) and provides a scope to retrieve records in the correct order. Ideal for drag-and-drop lists and custom ordering.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| james.xue/laravel-sortable | 0.90 | Laravel Sortable adds easy drag-and-drop ordering to Eloquent models: define sortable columns, automatically manage positions on create/update/delete, and reorder records with simple query helpers. Ideal for menus, galleries, and any list that needs custom sequencing. | 2 | 2 | 0 | 90 | 0 | 0.0 | 20.6 | — | — | |
| raditzfarhan/laravel-sortable | 0.88 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| zigastrgar/orderable | 0.88 | — | 20 | 20 | 0 | 0 | 0 | 0.4 | — | MIT | 10 years ago | |
| maize-tech/laravel-nova-eloquent-sortable | 0.88 | A Laravel Nova integration for eloquent-sortable models that adds drag-and-drop reordering and sortable controls to Nova resources, making it easy to manage model order in the admin panel without custom code. | 9 | 9 | 3 | 23 | 0 | 0.5 | 0.8 | MIT | 3 years ago | |
| s-damian/larasort | 0.88 | LaraSort is a lightweight Laravel package for adding sortable columns to Eloquent queries and tables. It handles sort parameters, column whitelisting, and direction toggling with minimal configuration, making it easy to build interactive, safe sorting in Blade views and APIs. | 26 | — | 1 | — | 0 | 0.2 | — | MIT | — | |
| rutorika/sortable | 0.88 | — | 288 | 297 | 47 | 25K | 0 | 19.7 | 28.8 | MIT | 7 months ago | |
| pion/laravel-eloquent-position | 0.88 | 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. | 9 | 9 | 9 | 592 | 0 | 0.4 | 24.6 | MIT | 5 years ago | |
| quadrubo/eloquent-autosort | 0.88 | 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. | 3 | — | 0 | — | 0 | 0.2 | — | MIT | 3 years ago | |
| nevadskiy/laravel-position | 0.88 | — | 26 | 26 | 7 | 2K | 0 | 4.5 | 26.9 | MIT | 1 year ago | |
| kyslik/column-sortable | 0.88 | kyslik/column-sortable adds easy column sorting to Laravel 5.5–8 apps. Use Blade helpers to generate sortable links, configure sortable columns, and sort by related hasOne/belongsTo fields, with override and alias options for custom queries. | 644 | 658 | 109 | 204K | 32 | 33.8 | 50.6 | MIT | 7 months ago | |
| jedrzej/sortable | 0.88 | — | 52 | 54 | 6 | 6K | 1 | 0.5 | 28.8 | MIT | — | |
| oddvalue/eloquent-sortable | 0.87 | A Laravel package that adds sortable behavior to Eloquent models. Use a simple trait to assign and maintain custom order, move records up or down, and reorder items reliably—great for drag-and-drop lists, menus, and other ordered content. | 2 | — | 0 | — | 0 | 9.1 | — | MIT | 7 months ago | |
| stephenjude/default-model-sorting | 0.87 | — | 38 | 38 | 6 | 991 | 0 | 2.5 | 19.6 | MIT | 1 year ago | |
| cannibal/sort-bundle | 0.87 | — | 0 | 0 | 1 | 0 | 1 | 0.1 | — | — | — | |
| bugloos/query-sorting-bundle | 0.87 | — | 13 | 13 | 1 | 6 | 0 | 2.2 | 2.1 | MIT | 3 years ago | |
| outl1ne/nova-sortable | 0.87 | Laravel Nova package that adds drag-and-drop reordering to resource index and HasMany views, powered by Spatie's eloquent-sortable. Supports pivot tables, move-to-start/end arrows, per-resource sorting control, and localization. | 285 | 285 | 132 | 155K | 24 | 35.2 | 51.2 | MIT | 3 months ago | |
| ip/sorter-bundle | 0.87 | A Symfony bundle that adds reusable sorting support to your application, letting you define and apply sortable fields with minimal configuration. It integrates with Doctrine to keep query sorting clean and consistent across controllers, services, and templates. | 0 | 0 | 1 | 0 | 0 | 0.0 | — | NOASSERTION | 9 years ago | |
| gurgentil/laravel-eloquent-sequencer | 0.87 | — | 152 | 152 | 13 | 316 | 2 | 6.9 | 7.5 | MIT | 11 months ago | |
| alexcrawford/lexorank-sortable | 0.87 | — | 8 | 8 | 1 | 815 | 0 | 0.4 | 27.1 | MIT | 1 year ago | |
| baril/orderly | 0.86 | Orderly adds orderable/sortable behavior to Laravel Eloquent models. Add a position column and the Orderable trait to reorder records with methods like moveToOffset, using a custom order column if needed. | 2 | 2 | 1 | 907 | 0 | 15.6 | 38.0 | — | 4 months ago |
How can I help you explore Laravel packages today?