waaseyaa/inertia

Server-side Inertia.js v3 protocol adapter for Waaseyaa

Maintainers

Package info

github.com/waaseyaa/inertia

pkg:composer/waaseyaa/inertia

Statistics

Installs: 544

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0-alpha.175 2026-05-01 17:17 UTC

This package is auto-updated.

Last update: 2026-05-08 20:50:32 UTC


README

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.