1 .composer require barryvdh/laravel-debugbar
2 .打开config app.php
在’providers’ => [ Barryvdh\Debugbar\ServiceProvider::class, ]
在’aliases’ => [ ‘Debugbar’ => Barryvdh\Debugbar\Facade::class, ]
3 .在项目根目录下php artisan vendor:publish
看效果
1 .composer require barryvdh/laravel-debugbar
2 .打开config app.php
在’providers’ => [ Barryvdh\Debugbar\ServiceProvider::class, ]
在’aliases’ => [ ‘Debugbar’ => Barryvdh\Debugbar\Facade::class, ]
3 .在项目根目录下php artisan vendor:publish
看效果
本文标题:laravel安装debug插件
本文链接:https://www.haomeiwen.com/subject/ftaxrxtx.html
网友评论