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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pixassociates/sortable-behavior-bundle | 0.87 | — | 47 | 48 | 79 | 9K | 8 | 6.1 | 34.8 | MIT | 8 years ago | |
| zigastrgar/orderable | 0.86 | — | 20 | 20 | 0 | 0 | 0 | 0.4 | — | MIT | 9 years ago | |
| nevadskiy/laravel-position | 0.86 | — | 26 | 26 | 8 | 2K | 0 | 4.6 | 26.1 | MIT | 1 year ago | |
| cannibal/sort-bundle | 0.86 | — | 0 | 0 | 1 | 0 | 1 | 0.1 | — | — | — | |
| raditzfarhan/laravel-sortable | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| alexcrawford/lexorank-sortable | 0.85 | — | 8 | 8 | 1 | 754 | 0 | 5.5 | 27.8 | MIT | 9 months ago | |
| rutorika/sortable | 0.83 | — | 289 | 298 | 47 | 17K | 0 | 25.7 | 27.5 | MIT | 3 months ago | |
| kyslik/column-sortable | 0.81 | Add sortable table columns to Laravel Eloquent listings. Define sortable fields on models, generate Blade sort links with direction icons, and sort by related hasOne/belongsTo columns or withCount aliases. Works with Laravel 5.5–8 (via package versions). | 647 | 662 | 109 | 128K | 32 | 39.4 | 50.1 | MIT | 4 months ago | |
| jedrzej/sortable | 0.81 | — | 52 | 54 | 6 | 5K | 1 | 0.5 | 27.7 | MIT | — | |
| spatie/period | 0.71 | Immutable date period objects for PHP with powerful comparison tools. Create periods from any DateTime (including Carbon), then calculate overlaps, gaps, intersections, differences, containment, and other complex comparisons across two or many periods. | 1,698 | 1,699 | 76 | 164K | 0 | 19.9 | 27.5 | MIT | 3 years ago | |
| spatie/laravel-json-api-paginate | 0.71 | Adds a jsonPaginate() method to Laravel’s Eloquent/Query Builder that follows the JSON:API pagination spec. Reads page[number] and page[size] request params and generates the required pagination links for API responses. | 638 | 644 | 46 | 123K | 0 | 26.0 | 35.0 | MIT | 5 months ago | |
| spatie/laravel-feed | 0.71 | Generate RSS, Atom, and JSON feeds for your Laravel app with minimal code. Install, register Route::feeds(), configure your feed items, and serve standards-compliant feeds from your application quickly and easily. | 984 | 994 | 100 | 106K | 0 | 29.5 | 31.6 | MIT | 5 months ago |
How can I help you explore Laravel packages today?