Search by

jeffersongoncalves / filament-ccpa-minors

jeffersongoncalves

Filament plugin for laravel-ccpa-minors: age check results, parent or guardian links and opt-ins to the sale or sharing of minors' personal information, in your panel.

3.0.0 2026-11-17 20:04 UTC

This package is auto-updated.

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


README

Filament CCPA Minors

Filament CCPA Minors

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

Manage the CCPA minors' records (Cal. Civ. Code §1798.120(c): no sale or sharing under 16 without opt-in) kept by laravel-ccpa-minors in your Filament panel.

Features

  • Age checks: a read-only list of each result, with the age at the check, the method (marked as reliable or not), the provider and the expiry date. Filter the users under 16. Your app's age check flow records them. Nobody types them in by hand.
  • Guardian links: link a minor's account to a parent or guardian, then verify or revoke the link. Under 13, only a verified parent or guardian can opt in.
  • Minor opt-ins: a read-only list of who opted in (the consumer at 13 to 15, or a parent) and when, with a Revoke opt-in action.
  • 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-minors:"^3.0"
php artisan vendor:publish --tag="ccpa-minors-migrations"
php artisan migrate

Usage

use JeffersonGoncalves\Filament\CcpaMinors\CcpaMinorsPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            CcpaMinorsPlugin::make()
                ->navigationGroup('CCPA')            // default: no group
                ->navigationSort(7)
                ->subjectModel(\App\Models\User::class)  // default: auth.providers.users.model
                ->subjectTitleAttribute('name'),     // shown next to the id and used to search accounts
        ]);
}

All fluent methods are optional.

The resources have no authorization of their own. Register them only on panels whose users handle privacy, or add policies for the JeffersonGoncalves\CcpaMinors\Models\* models.

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.