Skip to content

SpringfieldClinic/secure-headers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secure-headers

Add security related headers to all responses in Laravel

Installation

Install using composer

composer require springfieldclinic/security-headers

Publish config file

php artisan vendor:publish --provider="SpringfieldClinic\SecureHeaders\SecureHeadersServiceProvider"

Add global middleware in app/Http/Kernel.php

\SpringfieldClinic\SecureHeaders\SecureHeadersMiddleware::class,

Set up config file config/secure-headers.php

Done!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages