Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Symfony Cookie Consent Bundle Laravel Package

fatalnetwork/symfony-cookie-consent-bundle

A Symfony bundle for adding cookie consent to your application, with configurable consent banners and cookie handling. Integrates consent management into Symfony projects so visitors can accept or reject cookies.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for a compliance surface, not a product feature. Cookie consent is a legal obligation (GDPR/AVG Art. 6–7, ePrivacy), not a differentiator. The decision this package informs is narrow: do we implement the consent banner, preference center, and consent logging ourselves, license a CMP, or adopt an OSS bundle? It is a candidate only for the third bucket.
  • Roadmap scoping for a "compliance baseline" epic. It gives engineering a reference implementation shape — config-driven banner, cookie categories, consent persistence — which helps size the work (roughly: banner UI, category gating for scripts, consent record store with timestamp + policy version, withdrawal flow, re-consent on policy change). Use it to pressure-test your own scope, even if you don't ship it.
  • Platform-fit check. This is a Symfony bundle, not a Laravel package. If your stack is Laravel, adopting it means either a Symfony/Laravel bridge, vendoring the consent logic, or reimplementing the Twig/event-listener layers. That materially changes build cost and is a decision input, not a footnote.
  • Vendor and abandonment risk assessment. 1 star, 0 dependents, single maintainer. For code that gates tracking scripts and produces your evidence of consent, that's a supply-chain and audit-exposure question your PM should raise before it reaches a sprint.
  • Total cost of ownership comparison. Cheap to install, expensive to own: no community security review, no SLA, no DPIA documentation, no consent-record export for a subject access request. A free CMP (Klaro, orestbida's cookieconsent) or paid CMP (Cookiebot, Osano, Usercentrics) may be lower TCO once legal review and maintenance are counted.

When to Consider This Package

Consider it only when all of the following hold:

  • You are on Symfony (or a Symfony-kernel app), so the bundle's Twig templates, DI config, and event subscribers are directly usable.
  • You need a minimal, self-hosted banner — cookie categories, accept/reject, persistence — and your legal team has confirmed that a lightweight implementation satisfies your jurisdiction and your actual cookie inventory.
  • You have in-house capacity to own it, including the ability to fork and patch. Assume the upstream is unmaintained until proven otherwise.
  • Your cookie/script inventory is small and stable, so category gating doesn't need a tag manager integration or a full CMP rule engine.
  • It is a prototype, internal tool, or pre-revenue MVP where compliance exposure is bounded and you plan to migrate before scale.

Look elsewhere when:

  • You are on Laravel. The integration cost likely exceeds writing it yourself.
  • You need audit-grade evidence: consent receipts, versioned policy records, DSAR export, granular per-vendor consent. This bundle does not appear to deliver that — a CMP does.
  • You operate in a regulated or high-scrutiny context (health, finance, adtech, EU consumer at scale) where legal will ask "who maintains this and where's the security review?" A 1-star, 0-dependent dependency fails that question.
  • You need a preference center, Google Consent Mode v2, TCF, or tag-manager enforcement — none of which a small bundle will cover.
  • Your org has a dependency policy requiring maintained upstreams, CVE monitoring, or a minimum adoption threshold.

How to Pitch It (Stakeholders)

For executives (one paragraph): We evaluated an open-source Symfony bundle that implements a GDPR cookie consent banner. It is free (MIT), but it is effectively a single-maintainer project with one star and no downstream users — meaning no community validation, no security review, and no support. Because consent code is what we rely on to prove compliance, adopting it transfers legal and operational risk onto us. My recommendation: use it, if at all, as a design reference for scoping our own implementation or a CMP evaluation, not as a production dependency. The real decision is build vs. buy a consent management platform, and that decision should be driven by our cookie inventory and the evidentiary standard our legal team requires.

For engineering (one paragraph): It's a Symfony bundle — Twig templates, DI configuration, event subscribers — so on a Laravel stack it is not drop-in and would need porting or a bridge. Treat it as a reference implementation for banner + category gating + consent persistence. Before any adoption, verify: commit recency, whether consent records are stored with timestamp and policy version, whether consent withdrawal is supported, and whether non-essential scripts are actually blocked pre-consent (the part most implementations get wrong). Budget for forking; assume we own maintenance.

Bottom line: Low opportunity, high compliance sensitivity. Reference it, don't depend on it.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core
nodisrupt/laravel-agent
sierratecnologia/media-manager