GitHub - webkul/inertia: Inertia.js server-side adapter for PHP. Handles full visits, Inertia XHR visits, asset-version 409 handshakes and partial reloads. Framework-agnostic, with transparent WordPre
webkul/inertia is a framework-agnostic PHP server-side adapter for Inertia.js, equivalent to inertia-laravel but for plain PHP applications. It implements the full Inertia protocol including standard HTML visits, XHR JSON visits, stale-asset 409 handshakes, and partial reloads with lazy prop resolution. WordPress is supported transparently with automatic detection of WP helpers. Installation is via Composer, and runnable examples are provided for both React 18 and a vanilla JS client demonstrating the raw protocol.