spatie/laravel-cookie-consent
Add a simple, customizable cookie consent banner to Laravel. Shows on first visit, stores consent, then stays hidden. No “decline” option, no tracker blocking, and no consent categories—use other tools if you need advanced compliance features.
Adopt if:
Look elsewhere if:
For Executives: *"This package solves a critical GDPR/CCPA compliance gap with minimal effort. For ~$0 (MIT license), we get a pre-built, localized cookie consent banner that:
For Engineering:
*"Spatie’s laravel-cookie-consent is a lightweight, middleware-driven solution that:
whitecube/laravel-cookie-consent offer more features but at higher complexity.
Proposal: Use this for MVP compliance, then extend later if needed."*How can I help you explore Laravel packages today?