PHPackages                             zcwilt/laravel-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. zcwilt/laravel-consent

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

zcwilt/laravel-consent
======================

04PHP

Since Nov 30Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-consent
===============

[](#laravel-consent)

Introduction
------------

[](#introduction)

Laravel Consent is a middleware to automate some aspects of roles and permissions checking and is meant to work alongside [spatie permissions](https://github.com/spatie/laravel-permission)

It was developed to help transition from the [Yii Rbac](https://www.yiiframework.com/doc/guide/2.0/en/security-authorization) system to Laravel.

It provides for automated role/permission checking on route names, along with helpers to create permissions for those route names.

How it helps
------------

[](#how-it-helps)

Assigning to routes
-------------------

[](#assigning-to-routes)

Creating Permissions
--------------------

[](#creating-permissions)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/56678e046d4c66f28353ae4ed0a77101920e2f9afba29f47e76cb105f4f91adc?d=identicon)[zcwilt](/maintainers/zcwilt)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[elao/accesseo

Provide accessibility and SEO insights of your page in Symfony profiler

299.2k](/packages/elao-accesseo)

PHPackages © 2026

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