zcwilt/laravel-consent

dev-main 2020-11-30 20:03 UTC

This package is auto-updated.

Last update: 2024-11-29 06:22:23 UTC


README

Introduction

Laravel Consent is a middleware to automate some aspects of roles and permissions checking and is meant to work alongside spatie permissions

It was developed to help transition from the Yii Rbac 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

Assigning to routes

Creating Permissions