Laravel安装调试扩展(laravel-debugbar安装)

传送门

This is a package to integrate PHP Debug Bar with Laravel 5. It includes a ServiceProvider to register the debugbar and attach it to the output. You can publish assets and configure it through Laravel. It bootstraps some Collectors to work with Laravel and implements a couple custom DataCollectors, specific for Laravel. It is configured to display Redirects and (jQuery) Ajax Requests. (Shown in a dropdown) Read the documentation for more configuration options.
咱也看不懂。。。但是就是感觉很NB的样子。
咱就用它来查看程序执行过程和数据库执行语句。
项目地址:https://github.com/barryvdh/laravel-debugbar

安装

##切换至你程序目录下执行如下命令 更多功能请参考传送门
composer require barryvdh/laravel-debugbar --dev

为了能够正常的愉快玩耍别忘了开启调试模式

//修改项目目录下.env文件中的APP_DEBUG=true
APP_DEBUG=true

然后就能愉快玩耍了

  • 安装前效果
    在这里插入图片描述
  • 安装后效果

在这里插入图片描述


END

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值