Skip to content

Installation

Complete guide to installing and setting up Inertia Tables in your Laravel application.

Inertia Tables requires the following to run:

  • PHP 8.2+
  • Laravel v12.0+
  • Inertia.js v2+
  • React 18.2.0+
  • Tailwind CSS v4.0+

Require the package using Composer:

Terminal window
composer require tygoegmond/inertia-tables

The package will automatically register its service provider via Laravel’s package auto-discovery.

Install the React components package:

Terminal window
npm install @tygoegmond/inertia-tables-react

Use the @source directive to import the Inertia Tables styles in your app.css file:

@source '../../vendor/tygoegmond/inertia-tables/react/src/**/*.{js,jsx}';

Compile your assets:

Terminal window
npm run dev
# or for production
npm run build

Now that you have Inertia Tables installed, continue to the Getting Started guide to learn how to build your first table with all the available features.