marko / inertia-svelte
Svelte companion for marko/inertia - configuration and frontend marker binding
Package info
github.com/marko-php/marko-inertia-svelte
Type:marko-module
pkg:composer/marko/inertia-svelte
0.5.0
2026-05-02 00:51 UTC
Requires
- php: ^8.5
- marko/core: 0.5.0
- marko/env: 0.5.0
- marko/inertia: 0.5.0
- marko/vite: 0.5.0
This package is auto-updated.
Last update: 2026-05-02 01:37:27 UTC
README
Svelte companion for marko/inertia - configuration defaults and a frontend marker binding for Svelte.
Installation
composer require marko/inertia-svelte
Quick Example
use Marko\Inertia\Inertia; use Marko\Routing\Http\Request; use Marko\Routing\Http\Response; class DashboardController { public function __construct( private readonly Inertia $inertia, ) {} public function index(Request $request): Response { return $this->inertia->render( request: $request, component: 'Dashboard', ); } }
Documentation
Full usage, API reference, and examples: marko/inertia-svelte