spatie/laravel-cookie-consent
Some data may be outdated — see provenance labels.
Make your Laravel app comply with the crazy EU cookie law observed · 2026-09-29
Health v2 · maintenance only
74/100
- Activity 81
- Release rhythm 49
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 239.5
- age_days: 3767
- days_rel: 127
- days_push: 116
- n_releases_24m: 3
Adoption not part of the score
1495 stars · 137 forks observed · 2026-09-29
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Laravel package by Spatie that adds a simple, customizable cookie consent banner to help sites comply with the EU cookie law. It displays a dialog on first visit, sets a consent cookie, and hides the banner thereafter.
Use cases
- add a cookie consent banner to a laravel site
- comply with the eu cookie law
- show a cookie notice dialog to first-time visitors
- customize cookie consent message text and styling
- remember user cookie consent across requests
When to choose
- you need a lightweight, simple consent banner for a Laravel app
- you only need basic accept-and-remember behavior
- you want a well-maintained Spatie package with easy Blade integration
When to avoid
- you need a decline option or granular consent categories like necessary/marketing
- you must block trackers and cookies before consent is given
- you need full GDPR/TTDSG compliance verified by legal standards
Facets
library · maturity active
ui-components middleware templating web-development privacy legal php cookie-consent eu-cookie-law gdpr banner spatie laravel-package laravel web-server
3 sources
- readme: https://github.com/spatie/laravel-cookie-consent · fetched 2026-09-29 · 799f251a8cbc
- homepage: https://freek.dev/503-make-your-laravel-app-comply-with-the-crazy-eu-cookie-law · fetched 2026-08-29 · b056508070be
- site_page: https://freek.dev/about · fetched 2026-08-29 · e0ef9dccbb05
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spatie/laravel-cookie-consent | main | 74 |
For agents
markdown · JSON · MCP: product_card(name="spatie/laravel-cookie-consent")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem