承接 maxtrunk/lumen-debugbar 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

maxtrunk/lumen-debugbar

Composer 安装命令:

composer require maxtrunk/lumen-debugbar

包简介

PHP Debugbar integration for Lumen

README 文档

README

Packagist License Latest Stable Version Total Downloads

This is a package to integrate PHP Debug Bar with Lumen. It includes a ServiceProvider to register the debugbar and attach it to the output. You can publish assets and configure it through Lumen. Read the documentation for more configuration options.

Note: Use the DebugBar only in development. It can slow the application down (because it has to gather data). So when experiencing slowness, try disabling some of the collectors.

It also provides a Facade interface for easy logging Messages, Exceptions and Time

Installation

Require this package with composer:

composer require maxtrunk/lumen-debugbar --dev

After updating composer, add the ServiceProvider to the bootstrap/app.php

if (env('APP_DEBUG')) {
 $app->register(Barryvdh\Debugbar\LumenServiceProvider::class);
}

To change the configuration, copy the file to your config folder and enable it:

$app->configure('debugbar');

That's it!

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-04-08