Packagist · packagist:spatie/laravel-csp
spatie/laravel-csp active
Add CSP headers to the responses of a Laravel app
The latest stable version of spatie/laravel-csp is 3.32.0, published on 2026-11-25. Verified by Vigia on 2026-11-27.
| Latest stable version | 3.32.0 |
|---|---|
| Published | 2026-11-25 20:38:30+00:00 |
| Install | composer require spatie/laravel-csp |
| Required PHP version (composer.json) | PHP ^8.3 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-27 03:22:46 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-25 20:38:30 UTC · 1 days ago |
| Stable releases in the last 12 months | 19 |
| Published versions | 94 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.32.0 | 2026-11-25 20:38:30 UTC |
3.31.1 | 2026-11-06 10:49:09 UTC |
3.31.0 | 2026-11-04 23:20:50 UTC |
3.30.1 | 2026-10-26 15:13:46 UTC |
3.30.0 | 2026-10-19 15:00:02 UTC |
3.29.0 | 2026-09-09 14:48:28 UTC |
3.28.3 | 2026-09-03 13:39:06 UTC |
3.28.2 | 2026-09-03 13:37:59 UTC |
3.28.1 | 2026-09-01 08:39:25 UTC |
3.28.0 | 2026-09-01 08:17:25 UTC |
3.27.0 | 2026-08-17 07:19:36 UTC |
3.26.0 | 2026-06-26 19:20:01 UTC |
3.25.1 | 2026-06-02 08:00:44 UTC |
3.25.0 | 2026-05-11 08:02:16 UTC |
3.24.1 | 2026-05-04 10:44:18 UTC |
3.24.0 | 2026-05-04 08:23:33 UTC |
3.23.1 | 2026-04-30 17:08:24 UTC |
3.23.0 | 2026-02-21 14:39:15 UTC |
3.22.0 | 2026-01-24 18:56:15 UTC |
3.21.0 | 2025-10-16 07:20:44 UTC |
Showing the 20 most recent of 94 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 2.6.4 |
php 8.0 | 2.8.4 |
php 8.1 | 2.10.3 |
php 8.2 | 2.10.3 |
php 8.3 | 3.32.0 |
php 8.4 | 3.32.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of spatie/laravel-csp?
The latest stable version of spatie/laravel-csp is 3.32.0, published on 2026-11-25. Verified by Vigia on 2026-11-27.
How do I install the latest version of spatie/laravel-csp?
Run composer require spatie/laravel-csp. The latest stable version is 3.32.0 (verified 2026-11-27).
Is spatie/laravel-csp deprecated?
No. spatie/laravel-csp is not marked as deprecated in the registry.
Which PHP version does spatie/laravel-csp require?
spatie/laravel-csp 3.32.0 declares this requirement: PHP ^8.3.
Does spatie/laravel-csp 3.32.0 have known vulnerabilities?
No known advisories affect spatie/laravel-csp 3.32.0 according to the data Vigia checks.
Is spatie/laravel-csp still maintained?
spatie/laravel-csp published 19 stable releases in the last 12 months; the most recent was 1 days ago. Activity: active.
Observed changes
- hu Nov 26 2026 03:22:42 GMT+0000 (Coordinated Universal Time) — released 3.31.1 → 3.32.0
- Fri Nov 06 2026 15:21:29 GM +0000 (Coordinated Universal Time) — released 3.31.0 → 3.31.1
- hu Nov 05 2026 03:21:22 GMT+0000 (Coordinated Universal Time) — released 3.30.1 → 3.31.0
- ue Oct 27 2026 03:20:49 GMT+0000 (Coordinated Universal Time) — released 3.30.0 → 3.30.1
- Mon Oct 19 2026 15:19:48 GM +0000 (Coordinated Universal Time) — released 3.29.0 → 3.30.0
Related packages
- facebook/php-business-sdk
- soundasleep/html2text
- wp-cli/mustangostang-spyc
- geocoder-php/common-http
- jumbojett/openid-connect-php
- fzaninotto/faker
- codeception/module-rest
- psr-discovery/discovery
- simshaun/recurr
- squirrelphp/twig-php-syntax
- laminas/laminas-modulemanager
- symfony/sendgrid-mailer
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/spatie/laravel-csp) [](https://vigia.coredls.cloud/packagist/spatie/laravel-csp) [](https://vigia.coredls.cloud/packagist/spatie/laravel-csp)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/laravel-csp
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/laravel-csp/versions/{version}