stefpe/sp-consent-bundle

A Symfony bundle that provides a GDPR-compliant cookie and consent banner component.

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/stefpe/sp-consent-bundle

v0.1.0 2025-10-24 08:28 UTC

This package is auto-updated.

Last update: 2025-11-24 09:00:54 UTC


README

A Symfony bundle that provides a GDPR-compliant cookie and consent banner component.

Features

  • 🎨 Unstyled by Default - Bring your own styling (Tailwind, Bootstrap, custom CSS)
  • πŸ”§ Fully Customizable - Every element can be styled with classes or inline styles
  • ⚑ Live Components - Interactive banner with Symfony UX Live Components
  • 🌍 Translation Ready - Multi-language support built-in
  • πŸͺ Cookie Categories - Support for necessary, analytics, marketing, and functional cookies
  • πŸ“Š GDPR Compliant - Built with privacy regulations in mind
  • 🎯 Easy Integration - Simple Twig components, no complex setup

Quick Start

composer require stefpe/sp-consent-bundle

Add the component to your base template:

{{ component('CookieConsentBanner') }}

Important: The components come with minimal default classes only. You need to style them yourself using Tailwind CSS, custom CSS, or any CSS framework. See the documentation for styling examples.

Resources

License

This bundle is released under the MIT license. See the included LICENSE file for more information.