Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
andersao committed Jan 17, 2018
1 parent 818f2e2 commit 9ee2a2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -14,7 +14,7 @@ Insiperd by [Morgan - Node HTTP request logger](https://github.com/expressjs/mor
Add `prettus/laravel-request-logger` to the "require" section of your `composer.json` file.

```json
"prettus/laravel-request-logger": "1.0.*"
"prettus/laravel-request-logger": "1.2.*"
```

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

### Laravel

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

```php
'providers' => array(
...,
'Prettus\RequestLogger\Providers\LoggerServiceProvider',
Prettus\RequestLogger\Providers\LoggerServiceProvider::class,
),
```

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

```
[2015-04-03 00:00:00] local.INFO: [200] HTTP:1.1 {"id":1,"name":"Anderson Andrade", "email":"contato@andersonandra.de"} ["RESPONSE"]
```
```

0 comments on commit 9ee2a2a

Please sign in to comment.