PHPackages                             visualbuilder/user-consent - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. visualbuilder/user-consent

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

visualbuilder/user-consent
==========================

Manages user consent for filament panels

5.0.6(1mo ago)46.8k↑41.7%[2 PRs](https://github.com/visualbuilder/user-consent/pulls)MITPHPPHP ^8.2CI passing

Since Feb 5Pushed 1w ago1 watchersCompare

[ Source](https://github.com/visualbuilder/user-consent)[ Packagist](https://packagist.org/packages/visualbuilder/user-consent)[ Docs](https://github.com/visualbuilder/user-consent)[ GitHub Sponsors]()[ RSS](/packages/visualbuilder-user-consent/feed)WikiDiscussions 5.x Synced yesterday

READMEChangelogDependencies (45)Versions (81)Used By (0)

Provides User Consent options for Filament applications
=======================================================

[](#provides-user-consent-options-for-filament-applications)

[![Latest Version on Packagist](https://camo.githubusercontent.com/76f5859bca83b231905cde30857100e03131b54a24a5436233a74b284c31a04d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76697375616c6275696c6465722f757365722d636f6e73656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/visualbuilder/user-consent)[![GitHub Tests Action Status](https://camo.githubusercontent.com/e0c955c8eef465952baf0a3d69d27a1edf5dda4949621715c88c8ac7893a5e70/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f76697375616c6275696c6465722f757365722d636f6e73656e742f72756e2d74657374732e796d6c3f6272616e63683d352e78266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/visualbuilder/user-consent/actions?query=workflow%3Arun-tests+branch%3A5.x)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/36ea86c01984ffae3aa797fcb88cf98705613c59542eb418065ea7d8afaa9a1d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f76697375616c6275696c6465722f757365722d636f6e73656e742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d352e78266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/visualbuilder/user-consent/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3A5.x)[![Total Downloads](https://camo.githubusercontent.com/b824ed2ff1ba2206259d4fe7371e11832a293942f05167bfcff418ec40d2cd0f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76697375616c6275696c6465722f757365722d636f6e73656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/visualbuilder/user-consent)

Version Compatibility
---------------------

[](#version-compatibility)

Package VersionFilamentLaravelPHP5.x5.x11.x, 12.x8.2+4.x4.x10.x, 11.x8.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
------------

[](#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 [
];
```

Customising the consent page
----------------------------

[](#customising-the-consent-page)

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
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Lee Evans](https://github.com/cannycookie)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance96

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~11 days

Recently: every ~4 days

Total

68

Last Release

30d ago

Major Versions

3.0.38 → 4.0.12025-08-19

3.x-dev → 4.0.172025-12-02

4.x-dev → 5.0.02026-03-31

PHP version history (3 changes)3.0.1PHP ^8.1

4.0.1PHP ^8.4

4.0.2PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/98528425?v=4)[Eko UK Limited](/maintainers/ekoukltd)[@ekoukltd](https://github.com/ekoukltd)

---

Top Contributors

[![cannycookie](https://avatars.githubusercontent.com/u/500822?v=4)](https://github.com/cannycookie "cannycookie (95 commits)")[![AravindRam-Ranium](https://avatars.githubusercontent.com/u/120371206?v=4)](https://github.com/AravindRam-Ranium "AravindRam-Ranium (75 commits)")[![akshaybokaderanium](https://avatars.githubusercontent.com/u/127715225?v=4)](https://github.com/akshaybokaderanium "akshaybokaderanium (32 commits)")[![codelikesuraj](https://avatars.githubusercontent.com/u/70463535?v=4)](https://github.com/codelikesuraj "codelikesuraj (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![leeoptima](https://avatars.githubusercontent.com/u/202847690?v=4)](https://github.com/leeoptima "leeoptima (4 commits)")

---

Tags

laravelfilamentuser-consent

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/visualbuilder-user-consent/health.svg)

```
[![Health](https://phpackages.com/badges/visualbuilder-user-consent/health.svg)](https://phpackages.com/packages/visualbuilder-user-consent)
```

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

84215.9k9](/packages/stephenjude-filament-two-factor-authentication)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6649.5k1](/packages/marcelweidum-filament-passkeys)[finity-labs/fin-mail

A powerful email template manager and composer for Filament with dynamic token replacement, template versioning, and inline email sending.

284.4k1](/packages/finity-labs-fin-mail)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

274325.8k8](/packages/croustibat-filament-jobs-monitor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
