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

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

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
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x