New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

visualbuilder/user-consent

Manages user consent for filament panels
10,231 4
Install
composer require visualbuilder/user-consent
Latest Version:5.1.0
PHP:^8.2
Laravel:12 · 13
Older releases:10 · 11
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  Packagist
Maintainer: ekoukltd

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

Version Compatibility

Package Version Filament Laravel PHP
5.x 5.x 11.x, 12.x 8.2+
4.x 4.x 10.x, 11.x 8.2+
  • 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:

# For Filament 5.x
composer require visualbuilder/user-consent:^5.0

# For Filament 4.x
composer require visualbuilder/user-consent:^4.0

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

The page that users are sent to when consent is required (consent-option-request) is resolved from config, so you can register your own subclass without having to redefine the route — useful when you want to customise the page chrome, layout or behaviour:

// config/filament-user-consent.php
'pages' => [
    'consent_option_form_builder' => \App\Livewire\ConsentOptionFormBuilder::class,
],
// app/Livewire/ConsentOptionFormBuilder.php
use Visualbuilder\FilamentUserConsent\Livewire\ConsentOptionFormBuilder as BaseConsentOptionFormBuilder;

class ConsentOptionFormBuilder extends BaseConsentOptionFormBuilder
{
    // e.g. expose a logo + theme switcher, tweak the max width, etc.
}

When the option is omitted it defaults to the package's own Visualbuilder\FilamentUserConsent\Livewire\ConsentOptionFormBuilder.

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.

Related Packages

webbingbrasil/filament-copyactions

A easy-to-use copy actions for Filament Admin.

932,006 93
webbingbrasil/filament-maps

Map components for Filament.

62,557 78
bostjanob/filament-file-manager

Filament File Manager

5,831 4
dejodev/page-blocks

Simple page blocks blocks package for Filament

2,090 0
heloufir/filament-workflow-manager

Manage your own workflows with filament

1,282 70

Version History

Version Released PHP Laravel License
5.1.0 ^8.2 MIT
5.0.6 ^8.2 MIT
5.0.5 ^8.2 MIT
5.0.4 ^8.2 MIT
5.0.3 ^8.2 MIT