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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| kyslik/column-sortable | 0.81 | Add sortable table columns to Laravel (5.5–8) Eloquent listings. Provides Blade helpers to generate sort links with direction icons, supports configurable sortable fields, pagination-friendly URLs, and sorting on hasOne/belongsTo relations with optional aliases. | 647 | 663 | 109 | 114K | 32 | 42.3 | 50.1 | MIT | 2 months ago | |
| cviebrock/eloquent-sluggable | 0.65 | Generate SEO-friendly, unique slugs for Laravel Eloquent models automatically. Configure sources, separators, max length, reserved words, and update behavior; supports soft deletes and route model binding. Includes a SlugService and extensible hooks. | 3,993 | 4,061 | 449 | 229K | 0 | 33.4 | 24.4 | MIT | — | |
| spatie/laravel-model-status | 0.64 | Add status history to any Eloquent model with Spatie’s HasStatuses trait. Set statuses (strings or enums), store reasons/extra info, and retrieve current or previous statuses via convenient helpers like status() and latestStatus(). | 1,053 | 1,057 | 85 | 39K | 0 | 31.9 | 24.6 | MIT | 3 months ago |
How can I help you explore Laravel packages today?