Skip to content

Commit e9a1eb8

Browse files
authored
Lumen documentation update (#1976)
1 parent 9700234 commit e9a1eb8

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/lumen-installation.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,19 @@ composer require tymon/jwt-auth
88

99
-------------------------------------------------------------------------------
1010

11-
### Bootstrap file changes.
11+
### Copy the config
12+
13+
Copy the `config` file from `vendor/tymon/jwt-auth/config/config.php` to `config` folder of your Lumen application and rename it to `jwt.php`
14+
15+
Register your config by adding the following in the `bootstrap/app.php` before middleware declaration.
16+
17+
```php
18+
$app->configure('jwt');
19+
```
20+
21+
-------------------------------------------------------------------------------
22+
23+
### Bootstrap file changes
1224

1325
Add the following snippet to the `bootstrap/app.php` file under the providers section as follows:
1426

0 commit comments

Comments
 (0)