Skip to content

Commit

Permalink
Lumen documentation update (tymondesigns#1976)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulhaque authored Feb 2, 2021
1 parent 9700234 commit e9a1eb8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/lumen-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,19 @@ composer require tymon/jwt-auth

-------------------------------------------------------------------------------

### Bootstrap file changes.
### Copy the config

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`

Register your config by adding the following in the `bootstrap/app.php` before middleware declaration.

```php
$app->configure('jwt');
```

-------------------------------------------------------------------------------

### Bootstrap file changes

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

Expand Down

0 comments on commit e9a1eb8

Please sign in to comment.