2017 © Pedro Peláez
 

library acl

Access control list management for Laravel Framework

image

morilog/acl

Access control list management for Laravel Framework

  • Sunday, January 31, 2016
  • by morilog
  • Repository
  • 1 Watchers
  • 2 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel ACL

User-Role-Permission ACL system for Laravel >= 5.1, (*1)

Installation

Getting Package

Add following line to your composer.json' file at require section:, (*2)

"require": {
    "morilog/acl": "dev-master"
}

And run composer update, (*3)

Configs

Publish configs with this command and set admin_user_id:, (*4)

php artisan vendor:publish --provider="Morilog\Acl\AclServiceProvider" --tag="config"

in app.php:, (*5)

services:, (*6)

Morilog\Acl\AclServiceProvider::class

alias:, (*7)

'Acl' => 'Morilog\Acl\Facades\Acl'

Middleware

Open kernel.php file in app/Http' directory and add bellow line to$routeMiddleware` array:, (*8)

   'acl' => Morilog\Acl\Middlewares\AclCheck::class

Migrations

php artisan vendor:publish --provider="Morilog\Acl\AclServiceProvider" --tag="migration"

Commands

php artisan morilog:acl:add-roles
php artisan morilog:acl:admin-roles
php artisan morilog:acl:add-permissions
php artisan morilog:acl:clear-permissions

The Versions

31/01 2016

dev-master

9999999-dev

Access control list management for Laravel Framework

  Sources   Download

GPL

The Requires

 

The Development Requires

by Morteza Parvini

laravel framework acl security user management role permission access control list morilog