Ross ROSS = Recommend OSS · open-source software intelligence for agents

spatie/laravel-cookie-consent

Make your Laravel app comply with the crazy EU cookie law observed · 2026-08-28

github.com/spatie/laravel-cookie-consent · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

80/100

  • Activity 89
  • Release rhythm 57
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 239.5
  • age_days: 3719
  • days_rel: 79
  • days_push: 68
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

1499 stars · 137 forks observed · 2026-08-28

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

Member repositories

RepositoryRoleHealth v2
spatie/laravel-cookie-consentmain80

For agents

markdown · JSON · MCP: product_card(name="spatie/laravel-cookie-consent")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem