Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Nova Field Sortable

Nova Field Sortable Laravel Package

dewsign/nova-field-sortable

A Laravel Nova field that brings drag-and-drop reordering to resource index tables. Sort records straight from the Nova UI, persist positions to a sort column on your Eloquent model, and keep ordering consistent with minimal configuration.

View on GitHub
Deep Wiki
Context7

A sortable index field for Nova

Frequently asked questions about Nova Field Sortable
How do I install dewsign/nova-field-sortable in a Laravel Nova app?
Install the package with Composer using composer require dewsign/nova-field-sortable. Then add the package's sortable field to the fields method of the Nova resource whose index table you want to reorder. Check the repository README for the exact field class name and any required configuration. You will also need a sort column on the underlying Eloquent model.
How do I make a Laravel Nova resource index sortable with drag and drop?
Add the sortable field provided by dewsign/nova-field-sortable to your Nova resource's fields method. Configure it to use the database column that stores each record's position. Nova will then render drag-and-drop controls on the resource index table. After reordering, the package persists the new positions to your model's sort column.
Which database column does the package use to store sort order?
The package persists record positions to a sort column on your Eloquent model. You configure the field in your Nova resource to point at that column, so you can use an existing integer column or add a dedicated one through a migration. Review the README for the exact field method and any default column name. Make sure the column is indexed and contains sensible initial values for existing records.
Does dewsign/nova-field-sortable support Laravel Nova 4 and Nova 5?
Because this is a Laravel Nova field, supported Nova and Laravel versions are defined by the package's Composer constraints. Check the repository's composer.json and README before installing, especially if you are on Nova 4, Nova 5, or a newer Laravel release. When upgrading Nova, verify compatibility in a staging environment before deploying to production.
How does drag-and-drop sorting persist the new order to the database?
When you drag a row in the Nova index table, the field sends the new ordering to the backend and updates the configured sort column for the affected records. The index query then uses that column to display records in the saved order. This keeps ordering consistent between Nova and your application. Test the behavior after refreshing the page to confirm positions are persisted correctly.
Can I use dewsign/nova-field-sortable with an existing sort column and existing data?
Yes, you can point the field at an existing sort column, provided the records have usable position values. Before enabling drag-and-drop, backfill any null or duplicate values so the initial ordering is predictable. Then add the sortable field to your Nova resource and verify that reordering updates the column as expected. Always test against a copy of production data first.
Does drag-and-drop sorting work with paginated or filtered Nova index views?
Nova index tables can be paginated and filtered, and those views can affect how reordering is interpreted. Test drag-and-drop sorting with pagination, search, and filters enabled to confirm the package behaves correctly for your version of Nova. If you need to reorder across pages, verify the package's documented behavior or consider limiting sorting to unfiltered views. The README and repository issues are the best source for current limitations.
Is dewsign/nova-field-sortable maintained and safe for production use?
Before using any community Nova field in production, review the repository's recent commits, releases, open issues, and Composer version constraints. Confirm that it supports your Nova and Laravel versions and that the maintainer responds to compatibility problems. Run it in staging with realistic data and test reordering, pagination, filtering, and permission scenarios. If the package appears unmaintained, evaluate alternatives or a small custom implementation.
What are alternatives to dewsign/nova-field-sortable for sortable Nova resources?
Alternatives include other community Nova sortable-field packages, a custom Nova field or action that updates a sort column, or manually ordering records through your application's admin code. Compare packages by Nova version support, maintenance activity, pagination and filtering behavior, and whether they support multi-model or related-resource sorting. Choose the simplest option that fits your ordering requirements and test it thoroughly.
How should I test drag-and-drop reordering before deploying dewsign/nova-field-sortable?
Install the package in a local or staging environment and seed a realistic set of records with initial sort values. Drag rows in the Nova index table, refresh the page, and confirm that the database sort column contains the expected order. Also test with pagination, search, filters, and different user permissions. Finally, run your application's test suite and review the package's README for any testing or configuration notes.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console