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!
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