mako/toolbar
Composer 安装命令:
composer require mako/toolbar
包简介
A debug toolbar for the Mako Framework
关键字:
README 文档
README
Requirements
Mako 12.0 or greater.
Installation
Install the package using the following composer command:
composer require mako/toolbar
Next, add the mako\toolbar\ToolbarPackage package to your app/config/application.php config file.
You should make sure that the middleware gets executed first to ensure that the toolbar is able to collect all the information about your application.
$dispatcher->setMiddlewarePriority(ToolbarMiddleware::class, 1);
You can now add the middleware to the routes of your choice or make it global if you want to apply it to all your routes.
$dispatcher->registerGlobalMiddleware(ToolbarMiddleware::class);
The middleware will only append the toolbar to responses with a content type of
text/htmland a body that includes a set of<body></body>tags.
统计信息
- 总下载量: 22.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 2
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2014-06-27