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

猜你喜欢

转载自blog.csdn.net/Qcg0223/article/details/104891062