New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

alp-develop/laravel-livewire-tables

Full-featured reactive data tables for Laravel 10-13 and Livewire 3-4. Search, sort, filter, paginate, bulk actions, CSV export, dark mode, Tailwind & Bootstrap themes.
1,320 7

Larablocks Analysis

alp-develop/laravel-livewire-tables works with Laravel 10 to 13 (latest release v1.2.2, May 3, 2026).

Promising: maintained and up to date, meets 2 of 4 checks; not yet widely used.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (May 3, 2026)
  • 112 downloads a month (needs 10,000)
  • 7 GitHub stars (needs 100)

State

Maintained
  • Last stable release: May 3, 2026.
  • 9 releases in the last 12 months.
  • First released: Mar 5, 2026.
  • Monthly downloads: 112, up 35% from six months ago.
  • 1 open issue on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require alp-develop/laravel-livewire-tables
Latest Version:v1.2.2
PHP:^8.1
Laravel:10 – 13
License:MIT
Last Updated:May 3, 2026
Links: GitHub  ·  Packagist
Maintainer: alp-develop

Laravel Livewire Tables

Laravel Livewire Tables

Tests Latest Stable Version License

Full-featured, reactive data tables for Laravel. Search, sort, filter, paginate, export, bulk actions — zero JavaScript.

Laravel 10–13 | Livewire 3–4 | PHP 8.1–8.5 | Tailwind / Bootstrap 5 / Bootstrap 4 | Dark mode


Install

1. Require the package

composer require alp-develop/laravel-livewire-tables

2. Publish and configure

php artisan vendor:publish --tag=livewire-tables-config

This creates config/livewire-tables.php. This step is required — the config defines the theme, colors, dark mode, and other essential settings.

3. Themes

Set the theme in config/livewire-tables.php:

'theme' => 'tailwind',
Theme Value Alias
Tailwind CSS tailwind —
Bootstrap 5 bootstrap-5 bootstrap5, bootstrap
Bootstrap 4 bootstrap-4 bootstrap4

4. Tailwind only

Add to your CSS: [x-cloak] { display: none !important; }

Quick Start

php artisan make:livewiretable UsersTable User
<?php

namespace App\Livewire\Tables;

use App\Models\User;
use Illuminate\Database\Eloquent\Builder;
use Livewire\Tables\Columns\TextColumn;
use Livewire\Tables\Columns\BooleanColumn;
use Livewire\Tables\Columns\ActionColumn;
use Livewire\Tables\Filters\SelectFilter;
use Livewire\Tables\Livewire\DataTableComponent;

class UsersTable extends DataTableComponent
{
    public function configure(): void
    {
        $this->setDefaultPerPage(25);
        $this->setSearchDebounce(300);
    }

    public function query(): Builder
    {
        return User::query();
    }

    public function columns(): array
    {
        return [
            TextColumn::make('name')->sortable()->searchable(),
            TextColumn::make('email')->sortable()->searchable(),
            BooleanColumn::make('active')->sortable(),
            TextColumn::make('created_at')
                ->label('Joined')->sortable()
                ->format(fn ($value) => $value?
                ->format('M d, Y')),
            ActionColumn::make()
                ->button('Edit', fn ($row) => "edit({$row->id})", 'lt-btn-primary')
                ->button('Delete', fn ($row) => "delete({$row->id})", 'lt-btn-primary'),
        ];
    }

    public function filters(): array
    {
        return [
            SelectFilter::make('active')
                ->label('Status')
                ->setOptions(['' => 'All', '1' => 'Active', '0' => 'Inactive'])
                ->filter(fn (Builder $q, $v) => $q->where('active', (bool) $v)),
        ];
    }

    public function bulkActions(): array
    {
        return [
            'deleteSelected' => 'Delete Selected',
            'exportCsvAuto'  => 'Export CSV',
        ];
    }

    public function deleteSelected(): void
    {
        User::whereIn('id', $this->getSelectedIds())->delete();
    }

    public function edit(int $id): void
    {
        $this->redirect(route('users.edit', $id));
    }

    public function delete(int $id): void
    {
        User::findOrFail($id)->delete();
    }
}
<livewire:tables.users-table />

Multiple Tables in the Same View

When rendering multiple instances of the same table component (or different tables that share the same class), assign a unique table-key to each one so their state (filters, search, sorting, pagination) is isolated:

<livewire:tables.users-table table-key="users-active" />
<livewire:tables.users-table table-key="users-archived" />

You can also pass it dynamically:

<livewire:tables.users-table :table-key="'users-' . $section" :table-theme="$theme" />

If you don't set table-key, all instances of the same component will share state via session.

Documentation

Guide
Installation Setup, config, publishing assets
Configuration Config reference, per-table options, table key
Columns Text, Boolean, Date, Image, Action, Blade
Filters All types, dependent filters, custom logic
Bulk Actions Selection model, custom actions, CSV export
Export Auto CSV, custom exports
Events & Hooks Lifecycle hooks, external refresh
Toolbar Slots 6 hook points for custom content
Theming Themes, dark mode, color palette
Dark Mode .lt-dark class, session detection, $this->darkMode
Joins Joined columns, aliases, search on joins
Security Built-in protections, safe callbacks

Development

composer test       # Run tests
composer analyse    # PHPStan level 8
composer format     # Pint code style

Contributing · Changelog · License

Alternatives to alp-develop/laravel-livewire-tables

yajra/laravel-datatables-export

Laravel DataTables Queued Export Plugin.

3,148,478 36
jedrzej/pimpable

Laravel 4/5/6 package that allows to dynamically filter, sort and eager load rel...

200,198 104
jeffersongoncalves/filament-action-export

Export Filament tables to CSV, XLSX and PDF with preview and print support.

6,343 8
nyoncode/wire-table

Enterprise-grade Livewire table system with inline editing, optimistic locking,...

3,027 0
nayjest/grids

Grids for Laravel 4 & Laravel 5 frameworks

159,668 200

Version History

Version Released PHP Laravel License
v1.2.2 ^8.1 ^10.0 || ^11.0 || ^12.0 || ^13.0 MIT
v1.2.1 ^8.1 ^10.0 || ^11.0 || ^12.0 || ^13.0 MIT
v1.2.0 ^8.1 ^10.0 || ^11.0 || ^12.0 || ^13.0 MIT
v1.1.1 ^8.1 ^10.0 || ^11.0 || ^12.0 MIT
v1.1.0 ^8.1 ^10.0 || ^11.0 || ^12.0 MIT