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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-web-tinker | 0.81 | Browser-based Laravel Tinker console. Adds a route where you can run code, inspect your app, and iterate quickly with a light/dark UI. Dev-only tool—can execute arbitrary PHP, so don’t use in production. | 1,214 | 1,219 | 76 | 103K | 0 | 37.7 | 31.4 | MIT | 1 month ago | |
| spatie/url | 0.81 | Immutable URL parser/builder for PHP. Parse scheme, host, path and query, then fluently transform parts (withHost, withPath, withScheme) and manage query parameters. Supports allowed/sanitized schemes for safer URL handling. | 739 | 753 | 60 | 439K | 0 | 32.4 | 45.1 | MIT | 2 years ago | |
| spatie/error-solutions | 0.80 | Collection of reusable “solutions” for common runtime errors, used by Spatie’s error tools like Ignition and Flare. Provides a shared way to suggest fixes and actionable hints when exceptions occur in Laravel and PHP apps. | 68 | 68 | 9 | 3M | 0 | 25.8 | 65.0 | MIT | 1 month ago | |
| spatie/laravel-validation-rules | 0.78 | Handy Laravel validation rules by Spatie: Authorized (policy checks), CountryCode, Currency, Enum, ModelsExist, and Delimited. Installs via Composer, auto-registers, and supports publishing translations for customization. | 824 | 833 | 45 | 112K | 0 | 34.8 | 34.7 | MIT | 1 month ago | |
| laravel/sanctum | 0.77 | Laravel Sanctum is a lightweight authentication solution for Laravel SPAs and simple APIs. It supports session-based SPA auth and API token authentication, letting you secure first-party apps and issue personal access tokens with minimal setup. | 2,942 | 2,951 | 323 | 5M | 2 | 53.9 | 53.4 | MIT | 1 month ago | |
| spatie/laravel-honeypot | 0.77 | Protect Laravel forms from spam bots with a simple honeypot + timed submission check. Add the x-honeypot Blade component (or pass values manually for Inertia) and the package will reject requests with filled honeypot fields or unrealistically fast submits. | 1,554 | 1,556 | 108 | 211K | 0 | 40.6 | 34.7 | MIT | 1 month ago | |
| fruitcake/laravel-cors | 0.77 | Laravel middleware to handle Cross-Origin Resource Sharing (CORS). Configure allowed origins, methods, headers, credentials, and exposed headers via a config file. Adds proper CORS response headers and supports preflight OPTIONS requests for APIs and SPAs. | 6,253 | 6,235 | 608 | 795K | 37 | 40.0 | 50.0 | MIT | 4 years ago |
How can I help you explore Laravel packages today?