2017 © Pedro Peláez
 

library laravel-authorization-addons

Additional helper methods and blade directives to help with more complex authorization queries.

image

genealabs/laravel-authorization-addons

Additional helper methods and blade directives to help with more complex authorization queries.

  • Monday, March 12, 2018
  • by mikebronner
  • Repository
  • 2 Watchers
  • 2 Stars
  • 134 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 6 Versions
  • 605 % Grown

The README.md

Authorization Addons for Laravel

Authorization Addons for Laravel masthead image., (*1)

Join the chat at https://gitter.im/GeneaLabs/laravel-authorization-addons Travis SensioLabs Insight Scrutinizer Coveralls GitHub (pre-)release Packagist GitHub license, (*2)

Additional helper methods and blade directives to help with more complex authorization queries., (*3)

Usage

@canAny (iterable $abilities, $model)

Checks if any one of the abilities is authorized for the given model., (*4)

@canAny (['create', 'edit'], $post)

@canEvery (iterable $abilities, string $model)

Checks if all of the abilities are authorized for the given model., (*5)

@canEvery (['create', 'edit', 'remove'], $post)

@elseCanAny (iterable $abilities, string $model)

Same as @canAny, but allowing for multiple conditionals when checking authorizations., (*6)

@elseCanEvery (iterable $abilities, string $model)

Same as @canEvery, but allowing for multiple conditionals when checking authorizations., (*7)

Inverse Methods:

The following inverse methods are also available, along with the same signatures as their counterparts: - @cannotAny - @cannotEvery - @elseCannotAny - @elseCannotEvery, (*8)

The Versions

12/03 2018

dev-master

9999999-dev

Additional helper methods and blade directives to help with more complex authorization queries.

  Sources   Download

MIT

The Requires

 

The Development Requires

12/03 2018

0.1.3

0.1.3.0

Additional helper methods and blade directives to help with more complex authorization queries.

  Sources   Download

MIT

The Requires

 

The Development Requires

16/12 2017

0.1.2

0.1.2.0

Additional helper methods and blade directives to help with more complex authorization queries.

  Sources   Download

MIT

The Requires

 

The Development Requires

16/12 2017

dev-laravel-5.5

dev-laravel-5.5

Additional helper methods and blade directives to help with more complex authorization queries.

  Sources   Download

MIT

The Requires

 

The Development Requires

03/10 2017

0.1.1

0.1.1.0

Additional helper methods and blade directives to help with more complex authorization queries.

  Sources   Download

MIT

The Requires

 

The Development Requires

03/10 2017

0.1.0

0.1.0.0

Additional helper methods and blade directives to help with more complex authorization queries.

  Sources   Download

MIT

The Requires

 

The Development Requires