marko/inertia
最新稳定版本:0.6.0
Composer 安装命令:
composer require marko/inertia
包简介
Inertia.js protocol integration for the Marko Framework - middleware, response factory, shared data, and SSR support
README 文档
README
Inertia.js protocol integration for the Marko Framework - middleware, response factory, shared data, and SSR support.
Installation
composer require marko/inertia
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, 'Dashboard', [ 'user' => ['name' => 'Paulo'], ]); } }
Documentation
Full usage, API reference, and examples: marko/inertia
统计信息
- 总下载量: 60
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-01