Laravel Livewire Tables Documentation

🎉 Enjoying this package? Consider sponsoring me on GitHub or buying me a beer.

This is the documentation for v2 but the latest version is v3. You can switch versions in the menu at the top. Check your current version with the following command:

composer show rappasoft/laravel-livewire-tables


When a row is moved, the table will call your reorder method on the component with the current order of the entire table:

1public function reorder($items): void
3 foreach ($items as $item) {
4 User::find((int)$item['value'])->update(['sort' => (int)$item['order']]);
5 }