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

DevOps

MOTOSHARE ๐Ÿš—๐Ÿ๏ธ
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
๐Ÿš€ Everyone wins.

Start Your Journey with Motoshare

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