stefpe/sp-consent-bundle
最新稳定版本:v0.1.0
Composer 安装命令:
composer require stefpe/sp-consent-bundle
包简介
A Symfony bundle that provides a GDPR-compliant cookie and consent banner component.
README 文档
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.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-22