eduardoapatat/laravel-inertia-datatable
Larablocks Analysis
eduardoapatat/laravel-inertia-datatable works with Laravel 12 and 13 (latest release v0.16.3, Nov 20, 2026).
Recommendation checks
Use with careUse 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 |
laravel-inertia-datatable
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.mdandCONTRIBUTING.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
Server-driven UI for Laravel admin panels. Build pages, tables, forms and button...
A server-side DataTable builder for Laravel with a matching Vue 3 + Inertia fron...
A reusable, server-side DataTable system for Laravel + Inertia.js + React (TanSt...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v0.16.3 | ^8.3 | ^12.0| | MIT | |
| v0.16.2 | ^8.3 | ^12.0| | MIT | |
| v0.16.1 | ^8.3 | ^12.0| | MIT | |
| v0.16.0 | ^8.3 | ^12.0| | MIT | |
| v0.15.0 | ^8.3 | ^12.0| | MIT | |
| v0.14.3 | ^8.3 | ^12.0| | MIT | |
| v0.14.2 | ^8.3 | ^12.0| | MIT | |
| v0.14.1 | ^8.3 | ^12.0| | MIT | |
| v0.14.0 | ^8.3 | ^12.0| | MIT | |
| v0.13.0 | ^8.3 | ^12.0| | MIT | |
| v0.12.2 | ^8.3 | ^12.0| | MIT | |
| v0.12.1 | ^8.3 | ^12.0| | MIT | |
| v0.12.0 | ^8.3 | ^12.0| | MIT | |
| v0.11.0 | ^8.3 | ^12.0| | MIT | |
| v0.10.0 | ^8.3 | ^12.0| | MIT | |
| v0.9.1 | ^8.3 | ^12.0| | MIT | |
| v0.9.0 | ^8.3 | ^12.0| | MIT | |
| v0.8.0 | ^8.3 | ^12.0| | MIT | |
| v0.7.1 | ^8.3 | ^12.0| | MIT | |
| v0.7.0 | ^8.3 | ^12.0| | MIT | |
| v0.6.1 | ^8.3 | ^12.0| | MIT | |
| v0.6.0 | ^8.3 | ^12.0| | MIT | |
| v0.5.0 | ^8.3 | ^12.0| | MIT | |
| v0.4.1 | ^8.3 | ^12.0| | MIT | |
| v0.4.0 | ^8.3 | ^12.0| | MIT | |
| v0.3.0 | ^8.3 | ^12.0| | MIT | |
| v0.2.0 | ^8.3 | ^12.0| | MIT | |
| v0.1.0 | ^8.3 | ^12.0| | MIT |