Simple Acl for laravel 4
- default log in
- (CRUD) maintenance for users 2.1. assign multiple group per user
- (CRUD) maintenance for groups 3.1. assign resources (list of actions) for groups
- (CRUD) maintenance for resources (list of actions)
- log out
Add the following line to the require
section of composer.json
:
{
"require": {
"vhinx/acl": "dev-master"
}
}
- Add
Vhinx\Acl\AclServiceProvider
to the service provider list inapp/config/app.php
. - change the value of model in
app/config/auth.php
toVhinx\\Acl\\Models\\User
- run
php artisan migrate --package=Vhinx/Acl
- run
php artisan db:seed --classname=DataSeeder
- run
php artisan asset:publish --package=Vhinx/Acl