2017 © Pedro Peláez
 

library field-acl

A laravel package to support acl on fields of your models

image

neposoft/field-acl

A laravel package to support acl on fields of your models

  • Thursday, September 8, 2016
  • by neposoft
  • Repository
  • 3 Watchers
  • 4 Stars
  • 87 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Laravel ACL on field level

How to use the package:

  • Add a dependency to your composer composer require neposoft/field-acl, (*1)

  • Add the service provider in config/app.php
    Neposoft\FieldAcl\FieldAclServiceProvider::class, (*2)

  • php artisan vendor:publish to publish config files, views and migrations, (*3)

  • Add class that you want to manage in config/fieldAcl.php , inside class
    php 'classes' => [ \App\User::class ], (*4)

  • also change the roles and other parameters according to your needs., (*5)

  • In your model, use FieldAcl trait:, (*6)

     use    Neposoft\FieldAcl\FieldAcl;
  • Open the browser at /permissions and you are ready to manage the permissions for the groups that you defined in config., (*7)

Screenshot, (*8)

If any trouble, don't hesistate to open issues :), (*9)

The Versions

08/09 2016

dev-master

9999999-dev

A laravel package to support acl on fields of your models

  Sources   Download

MIT

The Requires

 

by Vijay Sapkota

09/03 2016

1.0.1

1.0.1.0

A laravel package to support acl on fields of your models

  Sources   Download

MIT

The Requires

 

by Vijay Sapkota

06/03 2016

1.0.0

1.0.0.0

A laravel package to support acl on fields of your models

  Sources   Download

MIT

The Requires

 

by Vijay Sapkota