Skip to content

Commit 0340784

Browse files
authored
Merge pull request #71 from limonte/patch-1
Fix mistaken path and improve installation guide for Lumen
2 parents 32ab227 + 2569489 commit 0340784

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Small log viewer for laravel. Looks like this:
1515

1616
![capture d ecran 2014-12-01 a 10 37 18](https://cloud.githubusercontent.com/assets/1575946/5243642/8a00b83a-7946-11e4-8bad-5c705f328bcc.png)
1717

18-
Install (laravel)
18+
Install (Laravel)
1919
-----------------
2020
Install via composer
2121
```
@@ -34,15 +34,20 @@ Route::get('logs', '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index');
3434

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

37-
Install (lumen)
37+
Install (Lumen)
3838
---------------
3939

4040
Install via composer
4141
```
4242
composer require rap2hpoutre/laravel-log-viewer
4343
```
4444

45-
Add the following in `app/bootstrap.php`:
45+
Enable facades by uncommenting this line in `bootstrap/app.php`:
46+
```php
47+
$app->withFacades();
48+
```
49+
50+
Add the following in `bootstrap/app.php`:
4651
```php
4752
$app->register(Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class);
4853
```

0 commit comments

Comments
 (0)