Skip to content

Commit 9ee2a2a

Browse files
committed
Update README
1 parent 818f2e2 commit 9ee2a2a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Insiperd by [Morgan - Node HTTP request logger](https://github.com/expressjs/mor
1414
Add `prettus/laravel-request-logger` to the "require" section of your `composer.json` file.
1515

1616
```json
17-
"prettus/laravel-request-logger": "1.0.*"
17+
"prettus/laravel-request-logger": "1.2.*"
1818
```
1919

2020
Run `composer update` to get the latest version of the package.
@@ -25,12 +25,12 @@ Run `composer require prettus/laravel-request-logger` direct in your terminal
2525

2626
### Laravel
2727

28-
In your `config/app.php` add `'Prettus\RequestLogger\Providers\LoggerServiceProvider'` to the end of the `providers` array:
28+
In your `config/app.php` add `Prettus\RequestLogger\Providers\LoggerServiceProvider::class` to the end of the `providers` array:
2929

3030
```php
3131
'providers' => array(
3232
...,
33-
'Prettus\RequestLogger\Providers\LoggerServiceProvider',
33+
Prettus\RequestLogger\Providers\LoggerServiceProvider::class,
3434
),
3535
```
3636

@@ -131,4 +131,4 @@ In your `config/request-logger.php` file, you can change configuration for logge
131131

132132
```
133133
[2015-04-03 00:00:00] local.INFO: [200] HTTP:1.1 {"id":1,"name":"Anderson Andrade", "email":"[email protected]"} ["RESPONSE"]
134-
```
134+
```

0 commit comments

Comments
 (0)