Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Csp Laravel Package

spatie/laravel-csp

Easily add Content Security Policy (CSP) headers to your Laravel app. Define and enforce CSP directives, report violations, and tighten what scripts, styles, and other resources can load or connect to—helping mitigate XSS and malicious third‑party code.

View on GitHub
Deep Wiki
Context7
3.23.0

What's Changed

  • Add Laravel 13 support
3.21.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.20.0...3.21.0

3.19.0
3.17.2

What's Changed

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.17.1...3.17.2

3.17.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.17.0...3.17.1

3.14.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.13.1...3.14.0

3.13.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.13.0...3.13.1

3.13.0

What's Changed

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.12.0...3.13.0

3.12.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.11.1...3.12.0

3.11.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.11.0...3.11.1

3.11.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.10.0...3.11.0

3.10.0

What's Changed

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.9.0...3.10.0

3.8.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.8.1...3.8.2

3.7.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.6.0...3.7.0

3.6.0

What's Changed

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.5.0...3.6.0

3.5.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.4.0...3.5.0

3.4.0

What's Changed

Full Changelog: https://github.com/spatie/laravel-csp/compare/3.3.0...3.4.0

3.2.0
3.0.0

The development goal for version 3 was to reduce the boilerplate of configuring a policy for common services like Google Tag Manager, Fathom Analytics, Adobe Fonts… In addition, we've made it easier to add your own directives through your configuration file, without writing additional code.

For more information, read our blog post on the v3 release.

Upgrading from v2? We have an upgrade guide!

2.10.3

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-csp/compare/2.10.2...2.10.3

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport