How to Disable Laravel debug bar and how can I remove this

Step 1: Go to .env file

DEBUGBAR_ENABLED=false
APP_DEBUG=false

Step 2: Go to TERMINAR and run this Commnad

php artisan cache:clear

But the app debug bar is still showing on the frontend

Step 3: Go to app/Providers/AppServiceProvider.php and Put this code \Debugbar::disable();

class AppServiceProvider extends ServiceProvider
{
    public function boot()
    {
        \Debugbar::disable(); 
    }
}

Step 4: Go to TERMINAR and run this Commnad

php artisan cache:clear

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x