Laravel 5: Enable laravel-debugbar

前端 未结 12 1642
星月不相逢
星月不相逢 2020-12-23 14:19

I\'m using Laravel 5 and would like to use the barryvdh/laravel-debugbar. After the installation and configuration the bar is not showing.

I did the following:

12条回答
  •  忘掉有多难
    2020-12-23 14:35

    to add debugger in your code step 1

    1. composer require barryvdh/laravel-debugbar --dev

    inside config/app.php

    • Barryvdh\Debugbar\ServiceProvider::class,
    • 'Debugbar' => Barryvdh\Debugbar\Facade::class,

    at last run this command

    1. php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"

提交回复
热议问题