jeffersongoncalves / filament-us-privacy-minors
Filament plugin for laravel-us-privacy-minors: age checks, parent or guardian links and minors' consent for targeted advertising and sale under the US state privacy laws, in your panel.
Package info
github.com/jeffersongoncalves/filament-us-privacy-minors
pkg:composer/jeffersongoncalves/filament-us-privacy-minors
Requires
- php: ^8.2
- filament/filament: ^5.3
- jeffersongoncalves/filament-plugin-core: ^3.0
- jeffersongoncalves/laravel-us-privacy-minors: ^1.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- jeffersongoncalves/pest-plugin-database-migrations: ^1.0
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^3.0|^4.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Filament US Privacy Minors
Minors under the US state privacy laws in your Filament panel, built on laravel-us-privacy-minors: age check results, parent or guardian links with verification, and minors' consents for targeted advertising and sale, with withdrawal.
This plugin gives you tooling. It does not make you compliant on its own.
Features
- Age checks with the age, the method and whether it is reliable, filtered by validity and under 18.
- Guardian links: create, verify (a parent consents under 13, COPPA) and revoke.
- Minors' consents: who gave each one (the minor or a parent) and withdrawal.
- 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-minors:"^3.0"
Install and configure laravel-us-privacy-minors first.
Usage
use JeffersonGoncalves\Filament\UsPrivacyMinors\UsPrivacyMinorsPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ UsPrivacyMinorsPlugin::make() ->subjectTitleAttribute('email') ->navigationGroup('Privacy') // default: no group ->navigationSort(2), ]); }
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
- filament-us-privacy: personal data inventory and the state law rules.
- filament-us-privacy-opt-out: opt-outs, sensitive data consent and Global Privacy Control.
- filament-us-privacy-requests: consumer requests and appeals.
- filament-us-privacy-notices: processing activities behind the privacy notice.
- filament-us-privacy-assessments: data protection assessments.
- filament-us-privacy-vendors: processors and third parties.
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.
