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

DevOps

YOUR COSMETIC CARE STARTS HERE

Find the Best Cosmetic Hospitals

Trusted • Curated • Easy

Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.

“Small steps lead to big changes — today is a perfect day to begin.”

Explore Cosmetic Hospitals Compare hospitals, services & options quickly.

✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence

Step 1: Go to .env file

DEBUGBAR_ENABLED=false
APP_DEBUG=falseCode language: JavaScript (javascript)

Step 2: Go to TERMINAR and run this Commnad

php artisan cache:clearCode language: CSS (css)

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(); 
    }
}
Code language: PHP (php)

Step 4: Go to TERMINAR and run this Commnad

php artisan cache:clearCode language: CSS (css)

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