waaseyaa/inertia
Server-side Inertia.js v3 protocol adapter for Waaseyaa
515
| Install | |
|---|---|
composer require waaseyaa/inertia |
|
| Latest Version: | v0.1.0-alpha.161 |
| PHP: | >=8.4 |
| License: | GPL-2.0-or-later |
| Last Updated: | Apr 26, 2026 |
| Links: | GitHub · Packagist |
Maintainer: jonesrussell
waaseyaa/inertia
Layer 6 — Interfaces
Server-side Inertia.js v3 protocol adapter for Waaseyaa.
Inertia::render($component, $props) produces an InertiaResponse that distinguishes initial full-page loads (HTML root template) from XHR navigation (JSON payload). InertiaMiddleware reads the X-Inertia-* request headers and switches the response shape accordingly. OptionalProp and PropResolver defer expensive prop computation when partial reloads only request specific keys.
Key classes: Inertia, InertiaResponse, InertiaMiddleware, InertiaServiceProvider, OptionalProp, PropResolver.