mercredi 18 janvier 2017

How to use Laravel Debugbar in controller?

I got an error Class 'App\Http\Controllers\Debugbar' not found after trying to use in controller action Debugbar::error('Error!');

LARAVEL DEBUGBAR WAS INSTALED IN THIS WAY:

in console composer require barryvdh/laravel-debugbar

in config/app.php adding Barryvdh\Debugbar\ServiceProvider::class and 'Debugbar' => Barryvdh\Debugbar\Facade::class,

Laravel 5.3

Debugbar is working in the website - I can see it at the bottom even after this error. But how to fix this critical error message?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jJfyay
via IFTTT

Aucun commentaire:

Enregistrer un commentaire