New

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

eduardoapatat/laravel-inertia-datatable

Server-side DataTables for Laravel + Inertia + React: pagination, sorting, filters, faceted counts and global search resolved on the server, with a shadcn/TanStack Table UI.
91

Larablocks Analysis

eduardoapatat/laravel-inertia-datatable works with Laravel 12 and 13 (latest release v0.16.3, Nov 20, 2026).

Recommendation checks

Use with care

Use with care: meets 2 of 5 checks.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Nov 20, 2026)
  • First released under 90 days ago
  • 91 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Too new to judge
  • Last stable release: Nov 20, 2026.
  • 28 releases in the last 12 months.
  • First released: Nov 5, 2026.
  • Monthly downloads: 91.
  • 2 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.

Install
composer require eduardoapatat/laravel-inertia-datatable
Latest Version:v0.16.3
PHP:^8.3
Laravel:12 · 13
License:MIT
Last Updated:Nov 20, 2026
Links: GitHub  ·  Packagist
Maintainer: eduardoapatat

laravel-inertia-datatable

tests starter kit

Reusable DataTable for Laravel + Inertia with React or Vue, built on shadcn/ui (shadcn-vue in Vue) and TanStack Table, with pagination, sorting, filters, global search and column visibility resolved on the server. The state lives in the URL.

Requires PHP 8.3+, Laravel 12 or 13 and an app with Laravel's React or Vue starter kit.

Installation

composer require eduardoapatat/laravel-inertia-datatable
php artisan inertia-datatable:ui            # the UI: components/data-table/*, the hook or composable and the libs
php artisan inertia-datatable:ui --update   # later, to bring the DataTable files of a new version

The UI comes from the shadcn registry of the same version as the package, for the framework of the Inertia adapter in package.json (--react or --vue force one). By hand:

pnpm dlx shadcn@latest add https://raw.githubusercontent.com/eduardoapatat/laravel-inertia-datatable/v0.16.3/r/data-table-react.json
pnpm dlx shadcn-vue@latest add https://raw.githubusercontent.com/eduardoapatat/laravel-inertia-datatable/v0.16.3/r/data-table-vue.json   # Vue

To install the package from GitHub or a local folder, add a vcs or path repository to composer.json and require eduardoapatat/laravel-inertia-datatable:@dev.

Claude Code skill

So Claude Code knows how to install the package and create tables in your project (it goes in .claude/skills/laravel-inertia-datatable/):

pnpm dlx shadcn@latest add https://raw.githubusercontent.com/eduardoapatat/laravel-inertia-datatable/v0.16.3/r/data-table-skill.json

Quick start

php artisan make:datatable ProductsTable --page   # the class, its component and a page (--react / --vue / --defer…)

The PHP class decides the columns, their order, their format and what can be sorted, searched and filtered:

use InertiaDataTable\Column;

Column::text('name', 'Name')->sortable()->searchable()->filterInput(),
Column::number('price', 'Price')->sortable()->money('CLP')->filterRange(),
Column::date('published_at', 'Published')->format('long')->filterRange(empty: true),
Column::boolean('featured', 'Featured')->filterSelect(),
Column::option('status', 'Status')->options(ProductStatus::class)->badge()->filterMultiSelect(),
Column::option('category', 'Category')->from('category.name')->filterMultiSelect(),
Type Format Filter
Column::text() limit(), url() or email() filterInput(): contains
Column::number() money(), decimals(), percent(), unit(), format([...]) filterInput(): equal to; filterRange(): slider
Column::date() format(preset or Intl options) filterDate(): one day; filterRange(): from / to
Column::boolean() labels(true, false), badge() filterSelect(): Yes or No
Column::option() options(list, map or enum), badge() filterSelect(): one option; filterMultiSelect(): several

The table component (React or Vue) only customizes cells or adds client-only columns, and every piece of the toolbar and the pagination can go anywhere in the page.

Readable URLs

Inertia encodes brackets and commas in the URL (filter%5Bstatus%5D=a%2Cb). For readable URLs, add this to the app's HandleInertiaRequests (it affects every Inertia page, so the package does not do it by itself):

public function urlResolver(): ?Closure
{
    return fn (Request $request): string => $request->getRequestUri();
}

Documentation

  • SKILL.md: the workflow, from installing to a tested table.
  • Backend: table classes, every column method, relations, configuration, language and formats.
  • React and Vue: the hook or composable, cells, layout and every component.
  • Tests of the tables in your app.
  • docs/contract.md: the HTTP contract between client and server (URL, response, normalization).
  • CHANGELOG.md and CONTRIBUTING.md (development, CI and releases).

Credits

Part of the frontend code includes third-party MIT-licensed software; see THIRD-PARTY-NOTICES.md.

Alternatives to eduardoapatat/laravel-inertia-datatable

lodestone/lodestone

Server-driven UI for Laravel admin panels. Build pages, tables, forms and button...

6,117 0
forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

4,239 32
givanov95/laravel-data-table

A server-side DataTable builder for Laravel with a matching Vue 3 + Inertia fron...

1,690 0
machour/laravel-data-table

A reusable, server-side DataTable system for Laravel + Inertia.js + React (TanSt...

2,707 2

Version History

Version Released PHP Laravel License
v0.16.3 ^8.3 ^12.0|^13.0 MIT
v0.16.2 ^8.3 ^12.0|^13.0 MIT
v0.16.1 ^8.3 ^12.0|^13.0 MIT
v0.16.0 ^8.3 ^12.0|^13.0 MIT
v0.15.0 ^8.3 ^12.0|^13.0 MIT