Skip to content

Commit 74218d9

Browse files
committed
doc(usage): add middleware import statement
1 parent 1bfb0df commit 74218d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ php artisan migrate
4545
To start logging requests made to your API, you simply add the middleware to the API's route middleware group, located in your `app/Http/Kernel.php`:
4646

4747
```
48+
use CodeTech\ApiLogs\Http\Middleware\LogApiRequest;
49+
50+
4851
protected $middlewareGroups = [
4952
...
5053

0 commit comments

Comments
 (0)