PHPackages                             signifly/nova-order-field - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. signifly/nova-order-field

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

signifly/nova-order-field
=========================

A Laravel Nova Order field based on spatie/eloquent-sortable.

2.0.8(6y ago)0348MITPHPPHP &gt;=7.1.0

Since Sep 6Pushed 4y agoCompare

[ Source](https://github.com/signifly/nova-order-field)[ Packagist](https://packagist.org/packages/signifly/nova-order-field)[ RSS](/packages/signifly-nova-order-field/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (1)Versions (13)Used By (0)

Nova Order Field
================

[](#nova-order-field)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7c5323ce7c4e61046658865376af66e0def64b1b6634f31bfa51bfdce73f4ace/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7369676e69666c792f6e6f76612d6f726465722d6669656c642e737667)](https://packagist.org/packages/signifly/nova-order-field)[![Total Downloads](https://camo.githubusercontent.com/cdf81e5d17a218203c801fea08e4c6c6e90c05c1f4c1ce42c02c067399c35516/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7369676e69666c792f6e6f76612d6f726465722d6669656c642e737667)](https://packagist.org/packages/signifly/nova-order-field)

### Description

[](#description)

A field that adds reordering functionality to your Laravel Nova resource's index using the [eloquent-sortable](https://github.com/spatie/eloquent-sortable) package by [Spatie](https://spatie.be).

### Demo

[](#demo)

[![Demo](https://raw.githubusercontent.com/signifly/nova-order-field/master/docs/screenshot.png)](https://raw.githubusercontent.com/signifly/nova-order-field/master/docs/screenshot.png)

### Installation

[](#installation)

This package can be installed through Composer.

```
composer require signifly/nova-order-field
```

### Usage

[](#usage)

1. Follow the [usage instructions](https://github.com/spatie/eloquent-sortable#usage) on the eloquent-sortable repository to make your model sortable.
2. Add the `Signifly\Nova\Fields\Order\Orderable` trait to your Nova Resource.
3. Add a public static property called `$defaultOrderField` to your resource, containing your order column.
4. Add the `OrderField` to your Nova Resource `fields` method.

### Grouping

[](#grouping)

If your model/table has a grouping field (usually a foreign key): `id, `**`user_id`**`, title, order_column`and you'd like the above methods to take it into considerations, you can create a `buildSortQuery` method at your model:

```
public function buildSortQuery()
{
    return static::query()->where('user_id', $this->user_id);
}
```

This will restrict the calculations to fields value of the model instance.

### Example

[](#example)

```
use Signifly\Nova\Fields\Order\Orderable;
use Signifly\Nova\Fields\Order\OrderField;

class Page extends Resource
{
    use Orderable;

    public static $defaultOrderField = 'order';

    public function fields(Request $request)
    {
        return [
            OrderField::make('Order'),
        ];
    }
}
```

Thank you to Michiel Kempen for his initial work.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~37 days

Recently: every ~0 days

Total

12

Last Release

2389d ago

Major Versions

0.0.1 → 1.0.02018-09-16

1.0.1 → 2.0.02019-04-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/cd06d3bd4452ca3ce5c956b4c0bcb1240ca692f590bc4cdabe104fd07156e0bf?d=identicon)[signifly](/maintainers/signifly)

---

Top Contributors

[![Razorsheep](https://avatars.githubusercontent.com/u/459217?v=4)](https://github.com/Razorsheep "Razorsheep (13 commits)")[![michielkempen](https://avatars.githubusercontent.com/u/14795113?v=4)](https://github.com/michielkempen "michielkempen (10 commits)")[![darmen](https://avatars.githubusercontent.com/u/184791?v=4)](https://github.com/darmen "darmen (2 commits)")[![morphsteve](https://avatars.githubusercontent.com/u/6017359?v=4)](https://github.com/morphsteve "morphsteve (1 commits)")

---

Tags

laravelnovaordering

### Embed Badge

![Health badge](/badges/signifly-nova-order-field/health.svg)

```
[![Health](https://phpackages.com/badges/signifly-nova-order-field/health.svg)](https://phpackages.com/packages/signifly-nova-order-field)
```

###  Alternatives

[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2872.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2861.8M9](/packages/outl1ne-nova-sortable)[naxon/nova-field-sortable

A Laravel Nova field.

59271.0k](/packages/naxon-nova-field-sortable)[michielkempen/nova-order-field

A Laravel Nova field.

59232.6k2](/packages/michielkempen-nova-order-field)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
