jeffersongoncalves / filament-quebec
Filament admin for Quebec Law 25: the personal information inventory declared on your models, with sensitive information, communication outside Quebec and profiling flagged
Package info
github.com/jeffersongoncalves/filament-quebec
pkg:composer/jeffersongoncalves/filament-quebec
Requires
- php: ^8.2
- filament/filament: ^5.3
- jeffersongoncalves/filament-plugin-core: ^3.0
- jeffersongoncalves/laravel-quebec: ^1.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- 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 Quebec
A personal information inventory page for your Filament panel, built on laravel-quebec. It lists every column you declared with #[PersonalData], grouped by model, with its category, purpose, flags, retention and destruction strategy, under Quebec's private sector privacy act (Law 25). It is the starting point of your inventory of processing activities.
Features
- One card per model in
quebec.models, one row per declared column. - Sensitive information (s. 12) highlighted.
- Columns communicated outside Quebec (s. 17) or used for profiling (s. 8.1) flagged.
- Columns without a purpose (s. 8) 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-quebec:"^3.0"
Declare your personal data and register the models as described in laravel-quebec.
Usage
use JeffersonGoncalves\Filament\Quebec\QuebecPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ QuebecPlugin::make() ->navigationGroup('Quebec') // 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
- filament-quebec-requests: access, rectification, de-indexation and portability requests (ss. 27 to 32).
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.
