Skip to content

Commit e250cbe

Browse files
Update INSTALLATION.md
1 parent 58152e6 commit e250cbe

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

INSTALLATION.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,11 @@
2121
- `php artisan security-headers:install`
2222
- You can publish the package config file & change site logo and favicon with email preference
2323
- `php artisan vendor:publish --provider="MonishKhatri\SecurityHeaders\SecurityHeadersServiceProvider" --tag="config"`
24+
- Add Middleware in `app/Http/Kernel.php`
25+
```
26+
protected $middlewareGroups = [
27+
'web' => [
28+
...
29+
\App\Http\Middleware\SecurityHeadersMiddleware::class,
30+
],
31+
```

0 commit comments

Comments
 (0)