From 25694892fca6002737b70775e2086904af4e14c6 Mon Sep 17 00:00:00 2001 From: Limon Monte Date: Thu, 7 Jul 2016 15:15:37 +0200 Subject: [PATCH] Fix mistaken path and improve installation guide for Lumen --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a058794..72ae299 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Small log viewer for laravel. Looks like this: ![capture d ecran 2014-12-01 a 10 37 18](https://cloud.githubusercontent.com/assets/1575946/5243642/8a00b83a-7946-11e4-8bad-5c705f328bcc.png) -Install (laravel) +Install (Laravel) ----------------- Install via composer ``` @@ -34,7 +34,7 @@ Route::get('logs', '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index'); Go to `http://myapp/logs` or some other route -Install (lumen) +Install (Lumen) --------------- Install via composer @@ -42,7 +42,12 @@ Install via composer composer require rap2hpoutre/laravel-log-viewer ``` -Add the following in `app/bootstrap.php`: +Enable facades by uncommenting this line in `bootstrap/app.php`: +```php +$app->withFacades(); +``` + +Add the following in `bootstrap/app.php`: ```php $app->register(Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class); ```