visualbuilder/user-consent

Manages user consent for filament panels


README

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

  • 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

Installation

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 [
];

Usage

$filamentUserConsent = new Visualbuilder\FilamentUserConsent();
echo $filamentUserConsent->echoPhrase('Hello, Visualbuilder!');

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.