andychukse/entrust
This package provides a flexible way to add Role-based Permissions to Laravel
2,040
1
| Install | |
|---|---|
composer require andychukse/entrust |
|
| Latest Version: | 11.0.0 |
| PHP: | ^8.0 |
| License: | MIT |
| Last Updated: | Nov 4, 2024 |
| Links: | GitHub · Packagist |
Maintainer: andychukse
This fork is to fix the package to be installable on Laravel v7, Laravel v8, Laravel v9, Laravel v10, Laravel v11
Installation
For Laravel 7 run:
composer require "andychukse/entrust:^9.0"
For Laravel 8 run:
composer require "andychukse/entrust:^9.0"
For Laravel 9 run:
composer require "andychukse/entrust:^9.0"
For Laravel 10 run:
composer require "andychukse/entrust:^10.0"
For Laravel 11 run:
composer require "andychukse/entrust:^11.0"
Click here for the full documentation.
I've updated dependencies only, because I had to upgrade existing Laravel project. Do not use this package for new projects, it's abandoned at this moment. spatie/laravel-permission should be a good choice.