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(7mo ago)3366↓50%5[1 PRs](https://github.com/antwerpes/filament-nested-set-order/pulls)MITPHPPHP ^8.1CI passing

Since Jan 24Pushed 1mo 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 1mo ago

READMEChangelogDependencies (7)Versions (8)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

46

—

FairBetter than 93% of packages

Maintenance78

Regular maintenance activity

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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

224d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/34a7cd6c6e8c5fd30b6cd28645c3384f343fc90d10b0df8c80c7ad424e3dba2a?d=identicon)[chiiya](/maintainers/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

[awcodes/filament-quick-create

Plugin for Filament Admin that adds a dropdown menu to the header to quickly create new items.

246177.6k7](/packages/awcodes-filament-quick-create)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[ralphjsmit/laravel-filament-seo

A package to combine the power of Laravel SEO and Filament Admin.

15398.7k10](/packages/ralphjsmit-laravel-filament-seo)[caresome/filament-neobrutalism-theme

A neobrutalism theme for FilamentPHP admin panels

303.2k](/packages/caresome-filament-neobrutalism-theme)[andreia/filament-ui-switcher

Add a modal with options to switch between different UI layouts and styles (colors, fonts, font sizes).

233.8k](/packages/andreia-filament-ui-switcher)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)

PHPackages © 2026

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