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

Eu Cookie Law Bundle Laravel Package

leblanc-simon/eu-cookie-law-bundle

A Symfony bundle for EU cookie law compliance, providing a configurable consent banner and blocking cookies until visitors agree. It helps sites meet GDPR-style requirements with minimal setup and easy integration into existing Twig templates.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • A quick feature decision: "do we need a cookie banner at all, and how thin can it be?" This bundle is essentially a UI shim — it renders an explanatory cookie div. As a PM, its main value is as a reference point for scoping the smallest possible compliance feature, not as a foundation for serious consent management.
  • Build vs. buy framing for consent. Use this package as the "cheapest possible build" anchor in a build/buy/partner conversation. If your requirement is genuinely just "show a notice," this is close to a DIY implementation. If your requirement includes granular opt-in, script-blocking, or consent records, it becomes the low end of the spectrum and pushes the decision toward a CMP (Cookiebot, OneTrust, Osano, Klaro, tarteaucitron).
  • Roadmap triage for a compliance workstream. Helps you separate "banner copy + UI" (a day or two of work) from "GDPR-grade consent architecture" (a quarter-plus, cross-functional). This package only covers the former, so it clarifies where the real roadmap investment sits.
  • Legacy-app stopgap decision. Useful only if you maintain an older Symfony application and need a placeholder notice while a proper consent solution is scoped. It is not a Laravel package — the name says bundle, and Symfony bundles don't drop into Laravel — so for a Laravel codebase this is a "reference implementation," not a dependency.
  • Vendor evaluation input. The gap between "a div explaining cookies" and what modern EU/GDPR regimes expect (prior consent, purpose categories, withdrawal, logging) is a useful slide for justifying CMP spend.

When to Consider This Package

Consider it only when:

  • You are on Symfony (not Laravel) and the requirement is strictly a static informational cookie notice.
  • The notice is a temporary bridge — you have a dated plan to replace it with a real CMP.
  • You need zero-config, no-JS-heavy, no-third-party-script integration and your legal team has signed off on a notice-only approach.
  • You are doing a technical spike or evaluating patterns for how to render a consent bar.

Look elsewhere when:

  • You are on Laravel. This is a Symfony bundle; there is no ServiceProvider, no config publishing, no Blade view. You would be porting the idea, not installing the package. There are Laravel-native alternatives and CMP JS snippets that are far better fits.
  • You need actual GDPR/ePrivacy compliance. Modern interpretation requires prior, granular, revocable consent with a record — not an explanatory div. Blocking non-essential scripts until opt-in is the material requirement, and this package does not do that.
  • Engineering-risk signals matter to you. 10 stars, 0 dependents, and a "bundle" heritage suggest low maintenance, unclear PHP/Symfony version support, and no community or security review. Treat it as unmaintained until your engineering team confirms otherwise.
  • You need multi-language copy, A/B-tested banner UX, analytics on consent rates, or a consent audit trail. None of that is here — that's CMP territory.
  • You're building something customer-facing at scale. Rolling your own consent UI invites rework the first time legal, privacy, or a regulator asks "show me the consent record."

How to Pitch It (Stakeholders)

To executives: This package is a point solution, not a compliance strategy. It draws a cookie explanation banner — the minimum visible surface of EU cookie law — and nothing else. Given its maturity signals (single-digit stars, no dependents, Symfony-only), I would not put it on a production roadmap as-is. It is most useful as a scoping reference: it shows how small the "banner-only" slice is, and by contrast how much of your real compliance investment lives in consent capture, script gating, and record-keeping. Recommendation: do not adopt; use it to size the build, and budget for either a lightweight self-built consent layer or a CMP depending on your regulatory exposure.

To engineering: Note the framework mismatch first — this is a Symfony bundle, not a Laravel package, so it is not directly installable here. Even on Symfony, it is a thin view-layer helper with no consent-state management, no script blocking, and no persistence. If we pursue a build path, we can reproduce this in a single Blade component plus middleware in well under a sprint, which gives us control over wording, locale, and analytics. If we pursue a buy path, we should evaluate a CMP for the parts this package deliberately omits: granular categories, opt-in before script load, and consent logging.

Bottom line: Adopt only as a placeholder in a Symfony legacy context, with a replacement date. Everywhere else — especially Laravel — treat it as a teaching example, not a dependency.

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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels