NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2252 most downloaded on Packagist
Add security related headers to HTTP response. The package includes Service Providers for easy Laravel integration.
Latest stable
9.1.1
Last release 4 months ago
21 Jul 2026
Release timing varies
gaps range from 4 weeks to 1.2 years
Most releases are documented
notes for 43 of 48 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
48 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Support wasm-unsafe-eval for CSP.
wasm-unsafe-eval for CSP. (#95)- Support Laravel 13
Fix PHP 8.4 deprecation warning.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Support X-DNS-Prefetch-Control header.
X-DNS-Prefetch-Control header.
clientHints for Clear-Site-Data header.Reporting-Endpoints and NEL headers. (#49)Content-Security-Policy header.
sandboxtrusted-typesfenced-frame-srcnavigate-toplugin-typesPermissions-Policy header.
attribution-reportingbluetoothbrowsing-topicscompute-pressuregamepadhididentity-credentials-getidle-detectionlocal-fontsotp-credentialspublickey-credentials-createserialspeaker-selectionstorage-accesswindow-managementbatteryexecution-while-not-renderedexecution-while-out-of-viewportnavigation-overridesync-xhr- Support Laravel 11
- Support Laravel 10
remove illuminate/support from dependencies.
- Support Laravel 9
Add csp_nonce helper function, it is alias of Bepsvpt\SecureHeaders\SecureHeaders::nonce method.
csp_nonce helper function, it is alias of Bepsvpt\SecureHeaders\SecureHeaders::nonce method.Feature-Policy was replaced with Permissions-Policy.
Feature-Policy was replaced with Permissions-Policy.- Support Laravel 8
Support Permissions-Policy without breaking change.
- Fix X-Powered-By header name.
- Fix nonces are not cleared.
Remove HPKP (Public Key Pinning mechanism was deprecated in favor of Certificate Transparency and Expect-CT header)
speaker and vr directivescustom-csp key'none').unsafe-hashed-attributes is replaced by unsafe-hashesnonces array had removed(according to RFC, it should generate a unique nonce value each time. Thus, it should not setup by user).SecureHeaders::nonce method requires one parameter now, it should be 'script' or 'style'(default is 'script').add-generated-nonce key was removed, it is no longer needed.report-to, child-src, navigate-to, prefetch-src, require-trusted-types-for, script-src-attr, script-src-elem, style-src-attr, style-src-elem, trusted-typesbattery, execution-while-not-rendered, execution-while-out-of-viewport, layout-animations, legacy-image-formats, navigation-override, oversized-images, publickey-credentials, unoptimized-images, unsized-media, wake-lock, xr-spatial-tracking- Support Laravel 7.0
- Support Laravel 6.0 - Support X-Power-By header
Add display-capture and document-domain to Feature-Policy
preload
display-capture and document-domain to Feature-Policysrc allowlist to Feature-PolicyLet Travis CI cover all supported PHP and Laravel versions
Support Feature-Policy sync-xhr directive
- Support Laravel 5.7
- Support Feature-Policy header
- Update document
Support Clear-Site-Header header
- Support Expect-CT header
Support Content Security Policy Level 3.
hashes field scheme.hashes field scheme.type field to schemes.https-transform-on-https-connections directive.image-src directive data field.Support generating nonce value for CSP header
- Support Laravel 5.5
Transform paragonie/csp-builder dependency to bepsvpt/csp-builder
- Support Lumen framework
Change referrer-policy header default value
Use set method instead of excluding class when adds headers
Fix call to undefined method when download file
- Fix Laravel 5.1 compatibility
- Support Laravel 5.4
Support disable specific header
- Remove incorrect dependents
Remove env helper function from config file
Add X-Download-Options, X-Permitted-Cross-Domain-Policies, Referrer-Policy headers
Prevent testing pollute helper functions
Revert config file from json format to php
Transform config file to json format
Debug mode will add csp header now
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.