NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #935 most downloaded on Packagist
Add CSP headers to the responses of a Laravel app
Last release 29 days ago
09 Sep 2026
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
89 releases · first in 2018
Add Google Ads preset by @jhhazelaar in #226
Full Changelog: 3.28.3...3.29.0
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.28.3...3.29.0
One column per quarter.
Fix Intercom preset conflicting with Basic preset by @Seb33300 in #224
Full Changelog: 3.28.2...3.28.3
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.28.2...3.28.3
Add FONT directive to Cloudflare CDN preset by @Seb33300 in #225
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.28.1...3.28.2
Add child-src to the Sentry preset and correct its comment by @freekmurze in #223
Full Changelog: 3.28.0...3.28.1
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.28.0...3.28.1
Remove dead matrix excludes by @freekmurze in #220
Full Changelog: 3.27.0...3.28.0
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.27.0...3.28.0
chore: update snapshots to Pest V4 by @chinmaypurav in #216
Full Changelog: 3.26.0...3.27.0
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.26.0...3.27.0
Add a There There preset by @freekmurze in #213
Full Changelog: 3.25.1...3.26.0
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.25.1...3.26.0
Chore: add Algolia insights domain by @chinmaypurav in #212
Full Changelog: 3.25.0...3.25.1
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.25.0...3.25.1
Support separate report endpoints for the report-only CSP policy by @freekmurze in #211
Full Changelog: 3.24.1...3.25.0
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.24.1...3.25.0
Add Directive::IMG:Scheme::DATA for Bootstrap by @weshooper in #209
Directive::IMG:Scheme::DATA for Bootstrap by @weshooper in #209Full Changelog: 3.24.0...3.24.1
Directive::IMG:Scheme::DATA for Bootstrap by @weshooper in https://github.com/spatie/laravel-csp/pull/209Full Changelog: https://github.com/spatie/laravel-csp/compare/3.24.0...3.24.1
Remove deprecated block-all-mixed-content directive from README by @weshooper in #206
block-all-mixed-content directive from README by @weshooper in #206Full Changelog: 3.23.1...3.24.0
block-all-mixed-content directive from README by @weshooper in https://github.com/spatie/laravel-csp/pull/206Full Changelog: https://github.com/spatie/laravel-csp/compare/3.23.1...3.24.0
Switch to scoped singletons to support Laravel Octane by @m-fi in #205
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.23.0...3.23.1
What's Changed Add Laravel 13 support
Update README.md by @MartinCamen in #201
Full Changelog: 3.21.0...3.22.0
feat: Add Rollbar CSP preset by @MoT3rror in #200
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.20.0...3.21.0
Google Maps Preset by @nessimabadi in https://github.com/spatie/laravel-csp/pull/199
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.19.0...3.20.0
feat: Chargebee CSP Preset by @shawnhooper in https://github.com/spatie/laravel-csp/pull/197
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.18.0...3.19.0
Feat: add SurveyMonkey preset by @chinmaypurav in https://github.com/spatie/laravel-csp/pull/196
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.17.2...3.18.0
Fix: update JsDelivr preset to include connect-src directive by @chinmaypurav in https://github.com/spatie/laravel-csp/pull/195
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.17.1...3.17.2
Update issue template by @AlexVanderbist in https://github.com/spatie/laravel-csp/pull/193
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.17.0...3.17.1
Chore: add missing tests for presets by @chinmaypurav in https://github.com/spatie/laravel-csp/pull/192
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.16.0...3.17.0
feat: add bootstrap preset by @chinmaypurav in https://github.com/spatie/laravel-csp/pull/189
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.15.0...3.16.0
feat: sentry preset added by @chinmaypurav in https://github.com/spatie/laravel-csp/pull/182
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.14.0...3.15.0
Update README.md Vite Nonce Generator Imports by @nessimabadi in https://github.com/spatie/laravel-csp/pull/180
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.13.1...3.14.0
Docs| Hint the usage of a base64-value for generated nonces by @YasserB94 in https://github.com/spatie/laravel-csp/pull/177
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.13.0...3.13.1
Adds Hireroad/Vacancy Filler Recruitment Preset by @atomicjam in https://github.com/spatie/laravel-csp/pull/176
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.12.0...3.13.0
Add Policy@setReportUri() method by @hivokas in https://github.com/spatie/laravel-csp/pull/175
Policy@setReportUri() method by @hivokas in https://github.com/spatie/laravel-csp/pull/175Full Changelog: https://github.com/spatie/laravel-csp/compare/3.11.1...3.12.0
Use correct format for directives by @adamjgriffith in https://github.com/spatie/laravel-csp/pull/167
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.11.0...3.11.1
Allow tag manager noscript fallback by @adamjgriffith in https://github.com/spatie/laravel-csp/pull/166
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.10.0...3.11.0
Add configuration for Vite hot reloading by @ziadoz in https://github.com/spatie/laravel-csp/pull/165
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.9.0...3.10.0
Add HotJar preset by @ziadoz in https://github.com/spatie/laravel-csp/pull/163
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.8.2...3.9.0
Update README.md by @nessimabadi in https://github.com/spatie/laravel-csp/pull/162
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.8.1...3.8.2
Captcha Services Presets by @atomicjam in https://github.com/spatie/laravel-csp/pull/160
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.8.0...3.8.1
Preset for Meta Pixels by @atomicjam in https://github.com/spatie/laravel-csp/pull/159
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.7.0...3.8.0
Add Vimeo preset by @rbibby in https://github.com/spatie/laravel-csp/pull/158
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.6.0...3.7.0
3 Presets (Stripe, Plausible, TicketTailor) by @atomicjam in https://github.com/spatie/laravel-csp/pull/156
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.5.0...3.6.0
docs: remove return from v3 upgrade guide by @audunru in https://github.com/spatie/laravel-csp/pull/153
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.4.0...3.5.0
Add Cloudflare Web Analytics preset by @ohiader in https://github.com/spatie/laravel-csp/pull/152
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.3.0...3.4.0
Google TLDs CSP preset by @christianschoenmakers in https://github.com/spatie/laravel-csp/pull/148
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.2.0...3.3.0
Intercom preset by @christianschoenmakers in https://github.com/spatie/laravel-csp/pull/147
Full Changelog: https://github.com/spatie/laravel-csp/compare/3.1.0...3.2.0
Update migration guide to use $policy by @patrickomeara in https://github.com/spatie/laravel-csp/pull/144
$policy by @patrickomeara in https://github.com/spatie/laravel-csp/pull/144Full Changelog: https://github.com/spatie/laravel-csp/compare/3.0.0...3.1.0
Nothing published for this version
Add support for Laravel 12 by @mfn in https://github.com/spatie/laravel-csp/pull/136
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.10.2...2.10.3
Fix getting Blade compiler by @CicerBro in https://github.com/spatie/laravel-csp/pull/134
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.10.1...2.10.2
Update README.md by @federico-boncaldo in https://github.com/spatie/laravel-csp/pull/127
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.10.0...2.10.1
feat: added missing 'wasm-unsafe-eval' keyword by @fxnm in https://github.com/spatie/laravel-csp/pull/125
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.9.0...2.10.0
Fix incorrect namespaces in README.md by @dnwjn in https://github.com/spatie/laravel-csp/pull/121
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.4...2.9.0
Removed expired link from readme file by @DevYunus in https://github.com/spatie/laravel-csp/pull/118
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.3...2.8.4
Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/laravel-csp/pull/109
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.2...2.8.3
Add wss: (secure websocket) scheme support by @bitwise-operators in https://github.com/spatie/laravel-csp/pull/105
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.1...2.8.2
Lazily register blade directives by @axlon in https://github.com/spatie/laravel-csp/pull/104
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.0...2.8.1
Fixing readme issues by @lukeclifton in https://github.com/spatie/laravel-csp/pull/88
@cspMetaTag blade directive by @lukeraymonddowning in https://github.com/spatie/laravel-csp/pull/103Full Changelog: https://github.com/spatie/laravel-csp/compare/2.7.0...2.8.0
- support Laravel 9
- add support for PHP 8
- add prefetch-src directive
- add unsafe-hashes keyword
- Add support for Laravel 8
- added "report-to" directive
- add websockets scheme support
- Add Laravel 7 support - Add None override
Your coding agent can read these notes before it upgrades. Set up the MCP server →