jeffersongoncalves/laravel-security-headers
Harden your Laravel app with configurable security headers. jeffersongoncalves/laravel-security-headers makes it easy to add CSP, HSTS, X-Frame-Options, Referrer-Policy, and other protective response headers using sensible defaults and simple configuration.
This Laravel package stamps a configurable set of baseline security headers (X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, Content-Security-Policy, Cross-Origin-Opener-Policy, X-Permitted-Cross-Domain-Policies and HSTS) onto your HTTP responses via a single middleware. Every header value and the full CSP directive map are driven by config, so you can tune or disable each one without touching code.
How can I help you explore Laravel packages today?