efureev/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel

Maintainers

Details

github.com/efureev/laratrust

Source

Installs: 3 702

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 306


README

68747470733a2f2f63646e2e7261776769742e636f6d2f73616e7469676172636f722f6c61726174727573742f313335616131356665636432326135313263343434333839643166386362393465373264306661372f646f63732f696d672f6c61726174727573742e737667

Laratrust Fork (Laravel Package)

Build Status Latest Stable Version Total Downloads StyleCI License

Laratrust is an easy and flexible way to add roles, permissions and teams authorization to Laravel 5 (>=5.6).

Installation

composer require "efureev/laratrust:5.3.*"

What does Laratrust support?

  • Multiple user models.
  • Multiple roles and permissions can be attached to users.
  • Multiple permissions can be attached to roles.
  • Roles and permissions verification.
  • Roles and permissions caching.
  • Events when roles and permissions are attached, detached or synced.
  • Multiple roles and permissions can be attached to users within teams.
  • Objects ownership verification.
  • Multiple guards for the middleware.
  • Laravel gates and policies.

License

Laratrust is open-sourced software licensed under the MIT license.

Contributing

Please report any issue you find in the issues page. Pull requests are more than welcome.