定制 stefpe/sp-consent-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-22