dizatech / acl-manager
This package provides access control list and user manager in laravel apps.
Installs: 286
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 0
Language:Blade
Type:laravel-package
Requires
- php: 7.1.*|7.2.*|7.3.*|7.4.*|8.*
- dizatech/cutlet-helper: 1.*
- laravel/framework: 7.*|8.*|9.*|10.*
- santigarcor/laratrust: 6.*|7.*
README
This package provides access control list and user manager for laravel apps.
Installation
Using Composer :
composer require dizatech/acl-manager
packagist : acl-manager
Usage
- Change the user modal namespace to laratrust config
(located in
/config/laratrust.php
) inuser_models
section :
'user_models' => [ 'users' => 'App\Models\User', ],
- Publish blade files
php artisan vendor:publish --tag=acl-manager
** Please note if you already published the vendor, for updates you can run the following command :
php artisan vendor:publish --tag=acl-manager --force
- Add the following tag in your sidebar layout :
<x-acl-menu></x-acl-menu>
or shorten tag :
<x-acl-menu />