happytodev/blogr-gdpr

GDPR compliance plugin for Blogr CMS - cookie consent, privacy, data export/erasure

Maintainers

Package info

github.com/happytodev/blogr-gdpr

pkg:composer/happytodev/blogr-gdpr

Statistics

Installs: 10

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.5.0 2026-06-09 15:22 UTC

This package is auto-updated.

Last update: 2026-06-09 15:22:40 UTC


README

Blogr GDPR

Latest Version Tests Fix PHP code style PHP Version Downloads GitHub Stars License

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.