Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Open the terminal and to do like this as your wise
- 1) Install DebugBar
- The DebugBar 2.4.x is for Laravel 5.4-
- The DebugBar 3.0.x is for Laravel 5.5+
- A) Install the debuger 2.4 (Documentation)
- composer require barryvdh/laravel-debugbar:~2.4
- You will also need to add in providers array in config/app.php :
- Barryvdh\Debugbar\ServiceProvider::class
- B) Install the debuger 3.0 (Documentation)
- composer require barryvdh/laravel-debugbar --dev
- 2) After that, you need to update the composer
- composer update
- 3) Clear cache and config
- php artisan cache:clear
- php artisan config:cache
- 4) Then after you need to add a line to .env file
- APP_DEBUG=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement