链接:https://github.com/barryvdh/laravel-debugbar1.项目目录运行 composer require barryvdh/laravel-debugbar2.修改config/app.php providers array 添加 'BarryvdhDebugbarServiceProvider', 3.运行 php artisan vendor:publish