11 Laravel packages tagged “csp”

Most downloaded: spatie/laravel-csp, with 13,317,387 downloads and 870 GitHub stars. Ranked by total downloads — use the controls below to sort by stars, most recently updated, or name.

spatie/laravel-csp

Add CSP headers to the responses of a Laravel app
870 13,317,387

bepsvpt/secure-headers

Add security related headers to HTTP response. The package includes Service Providers for easy Laravel integration.
550 5,754,090

hdvinnie/laravel-security-headers

Adds security related headers to HTTP response.
1 101,806

sloyakuza/laravel-security-headers

Adds security related headers to HTTP response.
13,838

artisanpack-ui/security

Core Laravel security toolkit — input sanitization, output escaping, KSES filtering, security headers, XSS protection, basic rate limiting, and Content Security Policy. Authentication / 2FA / RBAC / file uploads / analytics / compliance live in sibling packages.
10,421

zae/content-security-policy

A really easy way to build CSP headers and add them to the response.
7,392

offline/laravel-csp

Add CSP headers to the responses of a Laravel app (Fork)
1 5,539

zae/csp-reporting

CSP Reporting
2 2,066

duality-studio/lara-security

A straight implementation of security headers for Laravel
1,757

baspa/larascan

A security-focused static analysis package for Laravel applications
6 1,316

make-dev/laravel-security

Modern security headers for Laravel — turn-key. Strict CSP with per-request nonces and 'strict-dynamic', Subresource Integrity with smart noise filtering, HSTS, Permissions-Policy. An interactive setup wizard asks which third parties you use (GTM, HubSpot, Stripe, reCAPTCHA, and a dozen more) and wires the right directives automatically. First-party violation reporting endpoints, Filament + Livewire + Vite friendly, Vapor-ready. Laravel 11, 12, 13 on PHP 8.2+.
1 167