Getting Started
Requirements
| Dependency | Version |
|---|---|
| PHP | 8.3 or newer |
| Laravel | 13.x |
| Inertia.js | 3.x (server and client adapter) |
| Tailwind CSS | 4.x |
Pick one frontend framework:
| Framework | Version | npm package |
|---|---|---|
| Vue | 3.5+ | @erag/inertia-forms-vue |
| React | 19 | @erag/inertia-forms-react |
| Svelte | 5 | @erag/inertia-forms-svelte |
The frontend packages declare the Inertia client adapter for their framework (for example @inertiajs/react 3.x) as a peer dependency. They use Inertia's useForm helper to submit.
Older versions
Laravel 12 and below, and Inertia 1.x or 2.x, are not supported. The PHP package requires illuminate/* ^13.0.