Search by

jeffersongoncalves / filament-us-privacy

jeffersongoncalves

Filament plugin for laravel-us-privacy: the personal data inventory and the rules of the 18 US state privacy laws in your panel.

3.0.0 2026-11-18 01:23 UTC

This package is auto-updated.

Last update: 2026-11-18 01:38:09 UTC


README

Filament US Privacy

Filament US Privacy

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

Two read-only pages for your Filament panel, built on laravel-us-privacy:

  • Personal data inventory: every column you declared with #[PersonalData], grouped by model, with whether it is sensitive (and which kind), its purpose, whether you sell it or use it for targeted advertising or profiling, its retention and deidentification strategy.
  • State laws: the rules of the 18 US state privacy laws as configured in your app: effective dates, request and appeal deadlines, the sensitive data model, when Global Privacy Control must be honored, assessments and minors.

This plugin gives you tooling. It does not make you compliant on its own.

Features

  • One card per model in us-privacy.models, one row per declared column.
  • Sensitive data highlighted with its type; sale, targeted advertising and profiling flagged.
  • The state law matrix, with the laws not yet in force marked.
  • 19 languages.

Compatibility

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

Installation

composer require jeffersongoncalves/filament-us-privacy:"^3.0"

Declare your personal data and register the models as described in laravel-us-privacy.

Usage

use JeffersonGoncalves\Filament\UsPrivacy\UsPrivacyPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            UsPrivacyPlugin::make()
                ->navigationGroup('Privacy')            // default: no group
                ->navigationSort(1)                     // the state laws page comes right after
                ->navigationIcon('heroicon-o-finger-print')
                ->slug('personal-data-inventory'),      // the state laws page: {slug}-states
        ]);
}

All fluent methods are optional.

The pages have no authorization of their own: register the plugin only on panels whose users may see them, or override canAccess() in a subclass.

Related plugins

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.