marko/debugbar
最新稳定版本:0.5.0
Composer 安装命令:
composer require --dev marko/debugbar
包简介
Development debugbar and request profiler for the Marko Framework with request, response, timing, memory, messages, database, logs, views, Inertia, and config collectors
README 文档
README
Development debugbar and request profiler for the Marko Framework.
Installation
composer require marko/debugbar --dev
Quick Example
With APP_DEBUG=true (or DEBUGBAR_ENABLED=true), the debugbar auto-injects into HTML responses and stores a snapshot for every request. Add custom messages and timings from anywhere in your app:
debugbar('Rendering dashboard', 'info', ['user_id' => $user->id]); $report = debugbar()?->measure('build report', fn () => $this->reports->build());
Open /_debugbar to browse stored requests, or follow the X-Marko-Debugbar-Url header on JSON responses for the per-request profiler page.
Documentation
Full configuration, collectors, and API reference: marko/debugbar
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-01