1、安装debugbar功能包
    composer require barryvdh/laravel-debugbar
    如果包版本问题可安装2.4.0
    composer require barryvdh/laravel-debugbar:2.4.0
    打开cmder,切换到d:/www/edu项目目录,再执行以上指令
    image.png
    2、安装成功后
    image.png
    3、在config/app.php配置文件中做debugbar引入,具体如下
    ‘providers’ => [
    Barryvdh\Debugbar\ServiceProvider::class,
    ]
    ‘aliases’ => [
    ‘Debugbar’ => Barryvdh\Debugbar\Facade::class,
    ]
    4、执行如下指令,把debugbar配置文件复制到config目录下
    php artisan vendor:publish —provider=”Barryvdh\Debugbar\ServiceProvider”
    image.png
    5、出现以下截图安装成功
    image.png