Installation
Complete guide to installing and setting up Inertia Tables in your Laravel application.
Requirements
Section titled “Requirements”Inertia Tables requires the following to run:
- PHP 8.2+
- Laravel v12.0+
- Inertia.js v2+
- React 18.2.0+
- Tailwind CSS v4.0+
Backend Installation
Section titled “Backend Installation”Require the package using Composer:
composer require tygoegmond/inertia-tables
The package will automatically register its service provider via Laravel’s package auto-discovery.
Frontend Installation
Section titled “Frontend Installation”Install the React components package:
npm install @tygoegmond/inertia-tables-react
2. Import Styles
Section titled “2. Import Styles”Use the @source
directive to import the Inertia Tables styles in your app.css
file:
@source '../../vendor/tygoegmond/inertia-tables/react/src/**/*.{js,jsx}';
3. Compile Assets
Section titled “3. Compile Assets”Compile your assets:
npm run dev# or for productionnpm run build
Next Steps
Section titled “Next Steps”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.