A DataTables-like table component for Inertia.js with Laravel Query Builder integration, providing search, filter, sort, and pagination.
Inertia.js Tables for Laravel Query Builder is a package that provides a DataTables-like table component for Inertia.js applications. It integrates with Spatie's Laravel Query Builder to handle server-side search, filtering, sorting, and pagination, reducing the need for custom backend logic. The component is styled with Tailwind CSS and offers extensive customization through slots.
Laravel developers building Inertia.js applications with Vue 3 who need interactive, feature-rich data tables with server-side processing. It's ideal for projects requiring advanced table functionalities like filtering, sorting, and pagination without heavy JavaScript setup.
Developers choose this package because it seamlessly bridges Inertia.js and Laravel Query Builder, eliminating boilerplate code for table interactions. It offers a polished, customizable UI out-of-the-box with Tailwind CSS, and its tight integration ensures efficient data handling and URL synchronization.
Inertia.js Tables for Laravel Query Builder
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically integrates with Spatie's Laravel Query Builder for server-side filtering and sorting, eliminating the need for custom backend logic as shown in the example controller.
Generates table headers and bodies with minimal configuration, reducing boilerplate code while supporting custom cell rendering via slots.
Handles independent tables on a single page with unique query parameters, using the `name` and `pageName` methods to avoid conflicts.
Updates the URL query string automatically using Inertia's replace feature, enabling bookmarkable and shareable table states.
The package is officially legacy with no updates, as stated in the README, risking security vulnerabilities and incompatibility with future Laravel or Inertia versions.
The README admits this package has architectural issues that are only fixed in the premium successor, Inertia Table, which could lead to bugs or performance problems.
Lacks modern table functionalities like date filters, bulk actions, and exports, which are available in Inertia Table, limiting its usefulness for complex applications.
There is a known issue with Vite builds, forcing developers to use Laravel Mix or alternative tooling, as noted in the compatibility section.