mako/toolbar 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mako/toolbar

Composer 安装命令:

composer require mako/toolbar

包简介

A debug toolbar for the Mako Framework

README 文档

README

Tests Static analysis

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/html and a body that includes a set of <body></body> tags.

统计信息

  • 总下载量: 22.43k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 2

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-06-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固