Access Control List for Laravel

Maintainers

Details

github.com/laraturka/acl

Source

Issues

Installs: 302

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 2

Open Issues: 0

pkg:composer/laraturka/acl

v1.0.22 2025-10-03 18:24 UTC

README

Role Based Access Control for Laravel

Copy migrate and seed files and migrate with seed.

Add route middleware for acl app/Http/Kernel.php 'acl' => \Laraturka\Acl\AclMiddleware::class,

Add AclPolicy referance to Providers. app/Http/Providers/AuthServiceProvider.php

User::class => AclPolicy::class,

Create route group with middleware

Route::group(['prefix'=>'admin', 'middleware' => ['auth','acl','nocache']], function() {

//what ever you want to route

});