Skip to content

Commit 7980f7a

Browse files
authored
Update README.md
1 parent 7ac65be commit 7980f7a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@ This plugin adds to your application functionality to authenticate with JWT toke
1010

1111
## Installation
1212

13-
13+
1. Install plugin via terminal in your enviroment:
1414
```bash
1515
php artisan plugin:install ReaZzon.JWTAuth
1616
```
1717

18+
2. Generate JWT Secret:
19+
```bash
20+
php artisan jwt:secret
21+
```
22+
1823
## Middleware
1924

2025
To use JWT Middleware, put `ResolveUser` middleware in your routes. Example below:

0 commit comments

Comments
 (0)