- Create and edit consent options
- Apply them to user models
- Include a consent form during registration
- Email a copy of the consents to the user
- Users already accepted can be asked to accept the updated consent
- Provide users with My Consents page allowing review of their given consents
- Provide admin panel users with a list of consents provided by all users
You can install the package via composer:
composer require visualbuilder/user-consent
You can publish and run the migrations with:
php artisan vendor:publish --tag="user-consent-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="user-consent-config"
Optionally, you can publish the views using
php artisan vendor:publish --tag="user-consent-views"
This is the contents of the published config file:
return [
];
$filamentUserConsent = new Visualbuilder\FilamentUserConsent();
echo $filamentUserConsent->echoPhrase('Hello, Visualbuilder!');
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.