Search by

jeffersongoncalves / filament-gdpr-dsar

jeffersongoncalves

Filament plugin for laravel-gdpr-dsar: handle GDPR data subject requests (Arts. 15-22) in your panel: verify identity, export, erase, extend the one-month deadline, complete or reject.

3.1.0 2026-11-17 15:36 UTC

This package is auto-updated.

Last update: 2026-11-17 15:39:14 UTC


README

Filament GDPR DSAR

Filament GDPR DSAR

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads License

A Filament panel for GDPR data subject requests (Arts. 15 to 22). It is the UI of laravel-gdpr-dsar: every action calls that package, so the rules it enforces (verify first, automatic types only, one-month deadline) stay in one place.

Features

  • Register a request for access, rectification, erasure, restriction, portability, objection or automated decisions. The deadline is set from gdpr-dsar.deadline (one month).
  • Extend a complex request once by two further months, with the reason you give the data subject (Art. 12(3)).
  • Verify identity: link the request to the data subject's record. Nothing is exported or erased before this.
  • Fulfil access and portability (JSON export, downloadable from the request) and erasure (anonymizes the subject's records).
  • Complete the rights answered by hand (confirmation, correction, sharing information...) with the response you gave, or reject with a reason.
  • Overdue requests in red, an "Overdue" filter, and a navigation badge with open requests (red when one is overdue).
  • 19 languages.

Compatibility

Plugin Version Filament
1.x 3.x
2.x 4.x
3.x 5.x

Installation

You can install the package via composer:

composer require jeffersongoncalves/filament-gdpr-dsar:"^3.0"
php artisan vendor:publish --tag="gdpr-dsar-migrations"
php artisan migrate

Set up laravel-gdpr first: the models listed in gdpr.models are the ones a request can be linked to, exported and erased.

Usage

use JeffersonGoncalves\Filament\GdprDsar\GdprDsarPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            GdprDsarPlugin::make()
                ->navigationGroup('GDPR')                 // default: no group
                ->navigationSort(10)
                ->navigationIcon('heroicon-o-shield-check')
                ->slug('data-subject-requests')
                ->subjectModels([User::class]),           // default: gdpr.models
        ]);
}

All fluent methods are optional. The export disk and the deadline are configured in laravel-gdpr-dsar's gdpr-dsar config. Keep the export disk private: the file holds the data subject's personal data.

The resource has no authorization of its own: register it only on panels whose users handle privacy requests, or add a policy for JeffersonGoncalves\GdprDsar\Models\DataSubjectRequest.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.