PHPackages                             yezzmedia/laravel-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. yezzmedia/laravel-user-consent

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

yezzmedia/laravel-user-consent
==============================

Customer-facing consent decisions and consent-aware gating for the Yezz Media Laravel website platform.

0.1.0(1w ago)02↑2900%MITPHPPHP ^8.5

Since Jun 18Pushed todayCompare

[ Source](https://github.com/yezzmedia/laravel-user-consent)[ Packagist](https://packagist.org/packages/yezzmedia/laravel-user-consent)[ RSS](/packages/yezzmedia-laravel-user-consent/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (12)Versions (3)Used By (0)

   ![Yezz Media](https://raw.githubusercontent.com/yezzmedia/.github/main/profile/yezzmedia-light.svg)

 [![Latest Version](https://camo.githubusercontent.com/90c41aeb3eba404ac35dbd0eb020245ad82ecd7812f8b29d1d9e492a40972c1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79657a7a6d656469612f6c61726176656c2d757365722d636f6e73656e743f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yezzmedia/laravel-user-consent) [![PHP Version](https://camo.githubusercontent.com/82ff8717c23ee9c46660fae0e0f9e61d1034b4302e92b4117346dbe474b1bae4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f79657a7a6d656469612f6c61726176656c2d757365722d636f6e73656e743f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yezzmedia/laravel-user-consent) [![License](https://camo.githubusercontent.com/1c431fabae6baf173afb2577338a6c3dd8f3140493ada8d873f6477a28058255/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f79657a7a6d656469612f6c61726176656c2d757365722d636f6e73656e743f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yezzmedia/laravel-user-consent)

---

Laravel User · Consent
======================

[](#laravel-user--consent)

`yezzmedia/laravel-user-consent` provides cookie consent management, consent-aware analytics gating, and a user-facing preferences page for the Yezz Media platform.

It injects consent banners into the dashboard bottom-bar, persists decisions per session, and integrates with the account sidebar for preference management.

Version
-------

[](#version)

Current release: `0.2.0`

Requirements
------------

[](#requirements)

- PHP `^8.5`
- Laravel `^13.0` components
- `spatie/laravel-package-tools ^1.93`
- `yezzmedia/laravel-foundation ^0.2`
- `yezzmedia/laravel-account ^0.2`
- `yezzmedia/laravel-dashboard ^0.2`

Installation
------------

[](#installation)

```
composer require yezzmedia/laravel-user-consent
```

What The Package Provides
-------------------------

[](#what-the-package-provides)

### Consent Banner

[](#consent-banner)

A cookie consent banner injected into the dashboard bottom-bar via `BottomBarLinkRegistry`, with accept/reject buttons and a link to the preferences page.

### Consent Persistence

[](#consent-persistence)

Decisions are persisted per session with configurable consent versioning. When consent definitions change, users are re-prompted.

### Preferences Page

[](#preferences-page)

The `/consent/preferences` route renders a user-facing preferences page with:

- Toggle controls per consent category
- Auto-renders in the account layout when a default Filament panel is configured
- Falls back to a standalone layout with full Tailwind CSS support

### Consent-Aware Gating

[](#consent-aware-gating)

Integrates with `laravel-ops-analytics` to gate tracker dispatch on active consent decisions.

### Install Steps

[](#install-steps)

Foundation-aligned install step creates the consent tables migration and ensures the consent store is ready.

### Account Integration

[](#account-integration)

Registers navigation items in the account sidebar for consent preferences access.

Development
-----------

[](#development)

```
composer test
composer analyse
composer format
```

License
-------

[](#license)

MIT

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance99

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

12d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/107888802?v=4)[Yezz-Media](/maintainers/yezzmedia)[@yezzmedia](https://github.com/yezzmedia)

---

Top Contributors

[![yezzmedia](https://avatars.githubusercontent.com/u/107888802?v=4)](https://github.com/yezzmedia "yezzmedia (1 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k98.0M1.3k](/packages/spatie-laravel-permission)[spatie/laravel-health

Monitor the health of a Laravel application

87511.3M154](/packages/spatie-laravel-health)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M169](/packages/laravel-ai)[illuminate/auth

The Illuminate Auth package.

9327.9M1.2k](/packages/illuminate-auth)

PHPackages © 2026

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