Search by

jeffersongoncalves / filament-ccpa

jeffersongoncalves

Filament plugin for laravel-ccpa: your personal information inventory in the panel, with each column's CCPA category, sensitive flag, whether it is sold or shared, retention and deidentification.

3.0.0 2026-11-17 19:50 UTC

This package is auto-updated.

Last update: 2026-11-17 20:10:09 UTC


README

Filament CCPA

Filament CCPA

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

A personal data inventory page for your Filament panel, built on laravel-ccpa. It lists every column you declared with #[PersonalData], grouped by model, with its category, purpose, legal basis, retention and anonymization strategy. It is what your CCPA notices disclose: the categories you collect, the sensitive ones, and what you sell or share.

Features

  • One card per model in ccpa.models, one row per declared column.
  • Sensitive personal information highlighted, and columns you sell or share flagged.
  • Columns without a CCPA category (Cal. Civ. Code §1798.140(v)) flagged as "Not declared".
  • 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-ccpa:"^3.0"

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

Usage

use JeffersonGoncalves\Filament\Ccpa\CcpaPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            CcpaPlugin::make()
                ->navigationGroup('CCPA')             // default: no group
                ->navigationSort(1)
                ->navigationIcon('heroicon-o-finger-print')
                ->slug('personal-data-inventory'),
        ]);
}

All fluent methods are optional. The page is read-only: the inventory lives in your code, next to the models.

The page has no authorization of its own: register it only on panels whose users may see it, 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.