I can not see the bar of the library DEBUGBAR in laravel 5.4

0

I have installed this library barryvdh / laravel-debugbar in laravel 5.4.36 and I can not get it displayed, I added this line in the config / app in the service provider section

Barryvdh\Debugbar\ServiceProvider::class,

and in the section of facades this other line

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

I have made a dumpautoload composer and since it did not work I tried to download the debugbar version to 2.3.2 and the same result.

I've also tried these two commands

 php artisan cache:clear 

 php artisan config:cache

and in the ENV file, I have these two lines with these values

APP_ENV = local
APP_DEBUG = true

and I still can not visualize the bar, I ran out of options, I do not know what else to try, I can not see the bar, it does not give any kind of error, neither written nor graphic, everything is shown as if the bar was deactivated , I've tried it in firefox and in chrome and nothing. I have installed and uninstalled several versions using composer require and also editing directly the composer.json file (I think it is the same as the composer require) and it still does not appear.

Any idea what it can be?

    
asked by KurodoAkabane 11.09.2017 в 19:23
source

3 answers

1

It seems strange to you but you need to avoid cache in the following way:

php artisan cache:clear
php artisan view:clear
php artisan config:clear
php artisan debugbar:clear

and now enter private browsing.

    
answered by 13.09.2017 в 13:31
0

Use this command:

php artisan config:clear
    
answered by 11.09.2017 в 22:19
0

Doc. first you have to add the library to composer.json to use or write in the command inside your app folder:

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

2- add in config / app.php

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

3- in .env act debug putting in (debug = true)

4- just in case you end up typing in the command: composer update

    
answered by 12.09.2017 в 17:54