Search by

jeffersongoncalves / filament-ccpa-requests

jeffersongoncalves

Filament plugin for laravel-ccpa-requests: handle CCPA consumer requests to know, delete and correct in your panel: acknowledge, verify, export, delete, extend the 45-day deadline, complete or deny.

3.0.0 2026-11-17 19:53 UTC

This package is auto-updated.

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


README

Filament CCPA Requests

Filament CCPA Requests

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

A Filament panel for CCPA consumer requests to know, delete and correct (Cal. Civ. Code §§1798.105, 1798.106 and 1798.110). It is the UI of laravel-ccpa-requests: every action calls that package, so the rules it enforces (verify first, automatic types only, 45-day deadline) stay in one place.

Features

  • Register a request to know, delete or correct. The deadline is set from ccpa-requests.deadline (45 days).
  • Confirm receipt within 10 business days (Regulations §7021).
  • Extend a request once by 45 days, with the reason you give the consumer (§1798.130(a)(2)(A)).
  • Verify identity: link the request to the data subject's record. Nothing is exported or erased before this.
  • Fulfil requests to know (JSON export, downloadable from the request) and to delete (deidentifies the consumer's records). Corrections are completed by hand.
  • 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-ccpa-requests:"^3.0"
php artisan vendor:publish --tag="ccpa-requests-migrations"
php artisan migrate

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

Usage

use JeffersonGoncalves\Filament\CcpaRequests\CcpaRequestsPlugin;

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

All fluent methods are optional. The export disk and the deadline are configured in laravel-ccpa-requests's ccpa-requests 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\CcpaRequests\Models\ConsumerRequest.

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.