happytodev/blogr-gdpr
最新稳定版本:1.5.0
Composer 安装命令:
composer require happytodev/blogr-gdpr
包简介
GDPR compliance plugin for Blogr CMS - cookie consent, privacy, data export/erasure
README 文档
README
Blogr GDPR
GDPR compliance plugin for Blogr CMS
Cookie consent banner, privacy policy pages, data export & erasure requests, and consent logging — all fully integrated with Blogr's multilingual CMS.
Features
- Cookie Consent Banner – Customizable position (top/bottom), theme (dark/light), and granular category selection (essential, analytics, marketing) with a "Customize" modal
- Privacy Policy – Auto-generated CMS page with per-locale content via the Blogr block builder; DPO contact details injected dynamically
- Analytics Consent – Gate for Google Analytics, Plausible, Umami, Matomo with per-provider control and configurable position
- Contact Form Consent – GDPR checkbox integrated into Blogr's contact form with Alpine.js validation
- Data Export & Erasure – Self-service request forms with email notifications to the DPO
- Consent Logging – Database-backed audit trail with configurable retention period
- Filament Admin – Full GDPR settings page in the Filament admin panel
- Multilingual – EN, FR, DE, ES translations included (extensible)
Requirements
- PHP ^8.3
- Blogr ^1.3
Installation
composer require happytodev/blogr-gdpr
Run the package migrations:
php artisan migrate:status php artisan migrate
Configuration
Publish the config file:
php artisan vendor:publish --tag=blogr-gdpr-config
Configure your DPO details in config/blogr-gdpr.php:
'dpo' => [ 'name' => 'Your DPO Name', 'email' => 'dpo@example.com', 'address' => '123 Main Street, City, Country', ],
The analytics consent gate is automatically enabled when you configure a provider in Blogr's analytics settings — no additional setup needed.
Maintenance
Prune expired consent log entries (recommended as a daily cron job):
0 3 * * * cd /path/to/project && php artisan blogr-gdpr:prune-logs >> /dev/null 2>&1
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see LICENSE for more information.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-08