Advertisement
rodro1

laravel 6 debugger

Dec 13th, 2021
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1.  
  2. Open the terminal and to do like this as your wise
  3.  
  4. 1) Install DebugBar
  5.  
  6. The DebugBar 2.4.x is for Laravel 5.4-
  7. The DebugBar 3.0.x is for Laravel 5.5+
  8. A) Install the debuger 2.4 (Documentation)
  9.  
  10. composer require barryvdh/laravel-debugbar:~2.4
  11. You will also need to add in providers array in config/app.php :
  12.  
  13. Barryvdh\Debugbar\ServiceProvider::class
  14. B) Install the debuger 3.0 (Documentation)
  15.  
  16. composer require barryvdh/laravel-debugbar --dev
  17. 2) After that, you need to update the composer
  18.  
  19. composer update
  20. 3) Clear cache and config
  21.  
  22. php artisan cache:clear
  23.  
  24. php artisan config:cache
  25. 4) Then after you need to add a line to .env file
  26.  
  27. APP_DEBUG=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement