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.83 | Add sortable table columns to Laravel 5.5–8. Generate clickable links in Blade, configure sortable fields and icons, and sort by related hasOne/belongsTo attributes or withCount(). Works seamlessly with pagination and query building. | 648 | 663 | 109 | 111K | 32 | 46.1 | 52.0 | MIT | 3 weeks ago | |
| spatie/laravel-sluggable | 0.80 | Automatically generate unique, URL-friendly slugs for Laravel Eloquent models on save. Configure slug sources and target fields via a simple HasSlug trait and SlugOptions, with built-in uniqueness handling using Laravel’s Str::slug. | 1,529 | 1,554 | 189 | 376K | 0 | 42.9 | 38.9 | MIT | 2 weeks ago | |
| spatie/laravel-data | 0.57 | Define rich, typed data objects once and use them for requests, validation, API resources/transformers, and TypeScript definitions. Create from arrays/requests/models, apply rules automatically, and transform only what’s needed with lazy properties. | 1,720 | 1,726 | 277 | 2M | 13 | 51.1 | 55.8 | MIT | 6 days ago |
How can I help you explore Laravel packages today?