vhinx/acl

There is no license information available for the latest version (dev-master) of this package.

dev-master 2014-11-18 01:17 UTC

This package is not auto-updated.

Last update: 2024-12-17 03:20:01 UTC


README

Simple Acl for laravel 4

Content

  1. default log in
  2. (CRUD) maintenance for users 2.1. assign multiple group per user
  3. (CRUD) maintenance for groups 3.1. assign resources (list of actions) for groups
  4. (CRUD) maintenance for resources (list of actions)
  5. log out

Installation

Add the following line to the require section of composer.json:

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

Setup

  1. Add Vhinx\Acl\AclServiceProvider to the service provider list in app/config/app.php.
  2. change the value of model in app/config/auth.php to Vhinx\\Acl\\Models\\User
  3. run php artisan migrate --package=Vhinx/Acl
  4. run php artisan db:seed --classname=DataSeeder
  5. run php artisan asset:publish --package=Vhinx/Acl