Skip to content

Commit

Permalink
Merge pull request #71 from limonte/patch-1
Browse files Browse the repository at this point in the history
Fix mistaken path and improve installation guide for Lumen
  • Loading branch information
rap2hpoutre authored Jul 7, 2016
2 parents 32ab227 + 2569489 commit 0340784
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -34,15 +34,20 @@ Route::get('logs', '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index');

Go to `http://myapp/logs` or some other route

Install (lumen)
Install (Lumen)
---------------

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);
```
Expand Down

0 comments on commit 0340784

Please sign in to comment.