rexpl/laravel-acl

Extensive acl for laravel, including groups and permissions.

Installs: 40

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:package

0.10.0 2024-03-23 13:00 UTC

This package is auto-updated.

Last update: 2024-04-23 13:05:40 UTC


README

Extensive acl for laravel, including groups and permissions. This package aims to integrate as easily as possible in the laravel ecosystem.

Main concept

This packages allows for a great ranges of different options:

  • Users can be assigned groups
  • Groups can be assigned permissions
  • Groups can be assigned parent groups (and the other way arround)
  • Groups inherit permissions from the parent groups, parent groups inherit access

Exemple:

Exemple

Click here to read a detailed explanantion of the exemple above

Installation

Require package:

composer require rexpl/laravel-acl

Run migrations:

php artisan migrate

Publish configuration (Optional):

php artisan vendor:publish --provider="Rexpl\LaravelAcl\ServiceProvider\AclServiceProvider" --tag="config"

To Do List

  • Find a way to optionnaly integrate permissions and groups in version control
  • Document all features + add exemples
  • Add global/local access controlled queries
  • Add unit testing