sinarajabpour1998/acl-manager

This package provides access control list and user manager in laravel apps.

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:Blade

Type:laravel-package

v1.3.6 2021-11-16 12:19 UTC

This package is auto-updated.

Last update: 2024-12-16 18:39:02 UTC


README

This package provides access control list and user manager for laravel apps.

Installation

Using Composer :

composer require sinarajabpour1998/acl-manager

packagist : acl-manager

Usage

  • Change the user modal namespace to laratrust config (located in /config/laratrust.php) in user_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 />

Config options

You can set custom permissions for each section of this package. make sure that you already specified permissions in a seeder.

ChangeLog

See ChangeLog