From bce5689c85fdadf68abbe43ede99b8fdc6847427 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Mon, 13 Jul 2015 14:36:23 +0200 Subject: [PATCH] Update readme.md --- readme.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 641b00f4..ec276904 100644 --- a/readme.md +++ b/readme.md @@ -78,7 +78,9 @@ php artisan vendor:publish For Lumen, register a different Provider in `bootstrap/app.php`: ``` -$app->register(Barryvdh\Debugbar\LumenServiceProvider::class); +if (env('APP_DEBUG')) { + $app->register(Barryvdh\Debugbar\LumenServiceProvider::class); +} ``` To change the configuration, copy the file to your config folder and enable it: