plin-code/laravel-eloquent-sorts
Add flexible, safe sorting to Laravel Eloquent models. Define allowed sortable columns, map request parameters to query ordering, set defaults, and keep controllers clean with a simple reusable trait for consistent, validated sorting.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| s-damian/larasort | 0.87 | 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 | — | |
| konsulting/laravel-sorting | 0.87 | konsulting/laravel-sorting adds simple, request-driven sorting to Laravel Eloquent queries. Define sortable columns, read sort parameters from the query string, and keep controllers clean with reusable sorting logic for tables and API endpoints. | 0 | — | 0 | — | 0 | 19.5 | — | MIT | 2 weeks ago | |
| chrislentz/laravel-api-sorting | 0.87 | A Laravel package for adding API-driven sorting to Eloquent queries. It lets clients control result order through request parameters, keeping controllers clean and sorting logic reusable and consistent across API endpoints. | 0 | — | 0 | — | 0 | 0.2 | — | MIT | 9 years ago | |
| spatie/eloquent-sortable | 0.86 | 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. | 1,517 | 1,529 | 138 | 2M | 0 | 26.9 | 44.2 | MIT | 8 months ago | |
| stephenjude/default-model-sorting | 0.86 | — | 38 | 38 | 6 | 991 | 0 | 2.5 | 19.6 | MIT | 1 year ago | |
| thoss/laravel-gap-sort | 0.86 | Gap-based sorting for Laravel Eloquent models. Insert, move, and reorder records between existing items without renumbering every row, so drag-and-drop ordering stays fast, predictable, and easy to maintain. Includes configurable sort columns and gap refill. | 0 | — | 0 | — | 2 | 0.7 | — | MIT | 3 years ago | |
| plin-code/laravel-full-name | 0.86 | plin-code/laravel-full-name is a Laravel package that adds a reusable FullName trait/accessor to models, combining first, middle, and last name fields into a normalized full name for display, search, and sorting. Configurable name parts and separators keep Eloquent models simple. | 1 | — | 0 | — | 0 | 17.2 | — | MIT | 2 months ago | |
| jedrzej/sortable | 0.85 | — | 52 | 54 | 6 | 6K | 1 | 0.5 | 28.8 | MIT | — | |
| oddvalue/eloquent-sortable | 0.85 | 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 | |
| raditzfarhan/laravel-sortable | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| james.xue/laravel-sortable | 0.85 | 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 | — | — | |
| pion/laravel-eloquent-position | 0.85 | 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 | |
| kyslik/column-sortable | 0.84 | 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 |
How can I help you explore Laravel packages today?