PHPackages                             nyoncode/wire-sortable - 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. nyoncode/wire-sortable

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

nyoncode/wire-sortable
======================

Drag &amp; drop row reordering plugin for wire-table.

1.6.1(3w ago)01MITPHPPHP ^8.2

Since Jun 11Pushed 1mo agoCompare

[ Source](https://github.com/NyonCode/wire-sortable)[ Packagist](https://packagist.org/packages/nyoncode/wire-sortable)[ RSS](/packages/nyoncode-wire-sortable/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (18)Versions (15)Used By (0)

Wire Sortable
=============

[](#wire-sortable)

Drag and drop row and column reordering for Wire Table.

Requirements
------------

[](#requirements)

- PHP 8.2+
- Laravel 10, 11, or 12
- Livewire 3.x
- Tailwind CSS 3.x
- `nyoncode/wire-table`

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

[](#installation)

```
composer require nyoncode/wire-sortable
```

Service providers register automatically through Laravel package discovery.

Publish the config file when you need to change the order column, SortableJS loading, animation, or user model:

```
php artisan vendor:publish --tag=wire-sortable-config
```

Run the package migration when you use persistent per-user column ordering:

```
php artisan vendor:publish --tag=wire-sortable-migrations
php artisan migrate
```

Tailwind CSS
------------

[](#tailwind-css)

Add the package views to your Tailwind content paths.

```
export default {
    content: [
        './vendor/nyoncode/wire-core/resources/views/**/*.blade.php',
        './vendor/nyoncode/wire-table/resources/views/**/*.blade.php',
        './vendor/nyoncode/wire-sortable/resources/views/**/*.blade.php',
    ],
}
```

Quick Start
-----------

[](#quick-start)

```
use Livewire\Component;
use NyonCode\WireSortable\Concerns\WithSortable;
use NyonCode\WireTable\Columns\TextColumn;
use NyonCode\WireTable\Concerns\WithTable;
use NyonCode\WireTable\Table;

class TaskTable extends Component
{
    use WithTable, WithSortable;

    public function table(Table $table): Table
    {
        return $table
            ->model(Task::class)
            ->reorderable('sort_order')
            ->columns([
                TextColumn::make('title')->sortable()->searchable(),
                TextColumn::make('status')->sortable(),
            ]);
    }
}
```

```

    {{ $this->table }}

```

Configuration
-------------

[](#configuration)

```
return [
    'order_column' => 'sort_order',
    'sortablejs_cdn' => 'https://cdn.jsdelivr.net/npm/sortablejs@1.15.6/Sortable.min.js',
    'animation' => 150,
    'user_model' => 'App\\Models\\User',
];
```

Set `sortablejs_cdn` to `null` when your application bundles SortableJS itself.

Documentation
-------------

[](#documentation)

DocumentDescription[Sortable Overview](../../docs/sortable/overview.md)Row and column reordering[Installation](../../docs/sortable/installation.md)Setup and frontend requirements[Row Reordering](../../docs/sortable/row-sorting.md)Persistent row order[Column Reordering](../../docs/sortable/column-sorting.md)Per-user column order[API Reference](../../docs/sortable/api-reference.md)Sortable table and trait API[Configuration](../../docs/configuration.md)Package config referenceLicense
-------

[](#license)

MIT

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance93

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~3 days

Total

14

Last Release

25d ago

Major Versions

0.0.2 → 1.0.02026-06-11

### Community

Maintainers

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

---

Top Contributors

[![ONyklicek](https://avatars.githubusercontent.com/u/60318239?v=4)](https://github.com/ONyklicek "ONyklicek (3 commits)")

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/nyoncode-wire-sortable/health.svg)

```
[![Health](https://phpackages.com/badges/nyoncode-wire-sortable/health.svg)](https://phpackages.com/packages/nyoncode-wire-sortable)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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