PHPackages                             antwerpes/filament-nested-set-order - 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. [Admin Panels](/categories/admin)
4. /
5. antwerpes/filament-nested-set-order

ActiveLibrary[Admin Panels](/categories/admin)

antwerpes/filament-nested-set-order
===================================

Filament plugin for ordering resources stored using the nested set model

1.3.0(9mo ago)3484↓88.6%6[2 PRs](https://github.com/antwerpes/filament-nested-set-order/pulls)MITPHPPHP ^8.1CI passing

Since Jan 24Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/antwerpes/filament-nested-set-order)[ Packagist](https://packagist.org/packages/antwerpes/filament-nested-set-order)[ Docs](https://github.com/antwerpes/filament-nested-set-order)[ RSS](/packages/antwerpes-filament-nested-set-order/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (7)Versions (9)Used By (0)

Filament Nested Set Order
=========================

[](#filament-nested-set-order)

[![Latest Version on Packagist](https://camo.githubusercontent.com/593aada70a2f3632c8fd45aa23c5fc93b3f8b6363d385f6ea8b4d9d31a5f9e87/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e747765727065732f66696c616d656e742d6e65737465642d7365742d6f726465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/antwerpes/filament-nested-set-order)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d0921bb0d6e210fe86c121e03dbd6f200d878ea72dea5f8926a6bf86267cee8e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f616e747765727065732f66696c616d656e742d6e65737465642d7365742d6f726465722f6c696e743f6c6162656c3d636f64652532307374796c65)](https://github.com/antwerpes/filament-nested-set-order/actions?query=workflow%3Alint+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/8236cba9f51f515595fd19cdfe1f0cde479ea5af14f54ff004701d2818f1d27d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e747765727065732f66696c616d656e742d6e65737465642d7365742d6f726465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/antwerpes/filament-nested-set-order)

Filament actions for ordering resources that use [kalnoy/nestedset](https://github.com/lazychaser/laravel-nestedset).

Installation
------------

[](#installation)

```
composer require antwerpes/filament-nested-set-order
```

Usage
-----

[](#usage)

1. Ensure your models use the `Kalnoy\Nestedset\NodeTrait` and `Antwerpes\FilamentNestedSetOrder\Orderable` traits.

```
class Category extends Model
{
    use NodeTrait;
    use Orderable;
}
```

2. Add the actions to your filament resource and specify the query order:

```
use Antwerpes\FilamentNestedSetOrder\NestedSetOrderActions;

class CategoryResource extends Resource
{
    public static function table(Table $table): Table
    {
        return $table->prependActions(NestedSetOrderActions::make());
    }

    public static function getEloquentQuery(): Builder
    {
        return parent::getEloquentQuery()->withDepth()->defaultOrder();
    }
}
```

Caching
-------

[](#caching)

To improve performance you may enable caching:

1. Publish the config file:

```
php artisan vendor:publish --tag="filament-nested-set-order-config"
```

2. Enable caching:

```
return [
    'cache_enabled' => true,
];
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Contributions are welcome! Leave an issue on GitHub, or create a Pull Request.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance73

Regular maintenance activity

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~196 days

Recently: every ~245 days

Total

6

Last Release

277d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15029301?v=4)[Elisha](/maintainers/chiiya)[@chiiya](https://github.com/chiiya)

---

Top Contributors

[![chiiya](https://avatars.githubusercontent.com/u/15029301?v=4)](https://github.com/chiiya "chiiya (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (14 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")

---

Tags

laravelnestedsetfilamentantwerpesfilament-nested-set-order

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/antwerpes-filament-nested-set-order/health.svg)

```
[![Health](https://phpackages.com/badges/antwerpes-filament-nested-set-order/health.svg)](https://phpackages.com/packages/antwerpes-filament-nested-set-order)
```

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

274326.6k8](/packages/croustibat-filament-jobs-monitor)[stephenjude/filament-debugger

About

104162.2k2](/packages/stephenjude-filament-debugger)[mradder/filament-logger

Audit logging, activity tracking, exports, alerts, and dashboards for Filament admin panels.

2317.4k](/packages/mradder-filament-logger)[finity-labs/fin-mail

A powerful email template manager and composer for Filament with dynamic token replacement, template versioning, and inline email sending.

284.5k1](/packages/finity-labs-fin-mail)

PHPackages © 2026

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