Packagist · packagist:spatie/laravel-csp
spatie/laravel-csp active
Add CSP headers to the responses of a Laravel app
| Latest stable version | 3.29.0 |
|---|---|
| Published | 2026-09-09 14:48:28+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-10-09 03:02:21 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-09-09 14:48:28 UTC · 29 days ago |
| Stable releases in the last 12 months | 15 |
| Published versions | 89 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
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 |
3.20.0 | 2025-10-09 08:31:10 UTC |
3.19.0 | 2025-10-07 07:07:06 UTC |
3.18.0 | 2025-09-22 12:44:54 UTC |
3.17.2 | 2025-09-18 15:21:17 UTC |
3.17.1 | 2025-09-13 10:13:23 UTC |
Showing the 20 most recent of 89 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.29.0 |
php 8.4 | 3.29.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.29.0, published on 2026-09-09. Verified by Vigia on 2026-10-09.
How do I install the latest version of spatie/laravel-csp?
Run composer require spatie/laravel-csp. The latest stable version is 3.29.0 (verified 2026-10-09).
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.29.0 declares this requirement: PHP ^8.3.
Does spatie/laravel-csp 3.29.0 have known vulnerabilities?
No known advisories affect spatie/laravel-csp 3.29.0 according to the data Vigia checks.
Is spatie/laravel-csp still maintained?
spatie/laravel-csp published 15 stable releases in the last 12 months; the most recent was 29 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- symfony/ux-turbo
- colinodell/psr-testlogger
- simshaun/recurr
- api-platform/state
- james-heinrich/getid3
- rlanvin/php-rrule
- api-platform/serializer
- laravel/vapor-core
- fzaninotto/faker
- api-platform/json-schema
- bugsnag/bugsnag-psr-logger
- deployer/deployer
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}