Skip to content
Handle roles and permissions in your Laravel application
Branch: master
Clone or download
Latest commit ce9a133 Jun 11, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update docs and add issue template Jul 17, 2017
config Change the cache time to seconds according to the 5.8 update Feb 28, 2019
docs Typo fix Jun 11, 2019
src Update LaratrustUserChecker May 15, 2019
stubs Move config, views and stub folders out of src. Fix #258 Mar 9, 2018
tests Fix #339 Apr 17, 2019
views Move config, views and stub folders out of src. Fix #258 Mar 9, 2018
.gitignore Initial configuration of Vuepress Aug 11, 2018
.styleci.yml Update styleci.yml May 16, 2018
.travis.yml Add support for PHP7.3 and drop <=7.0 Feb 27, 2019
LICENSE Initial commit May 25, 2016 Update docs and readme Feb 28, 2019
composer.json Merge branch 'master' into laravel-5.8-upgrade Feb 28, 2019 Update deploy script Aug 14, 2018
package.json Update vuepress version Oct 7, 2018
phpunit.xml Initial work in te new roles and permissions check Aug 25, 2018
yarn.lock Update vuepress version Oct 7, 2018

Laratrust (Laravel 5 Package)

Build Status Latest Stable Version Total Downloads StyleCI License Gitter Donate

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

For Laravel 5.2.32 - 5.6 please use the 5.1 branch.

For Laravel < 5.2.32 please use the 4.0 branch.

Installation, Configuration and Usage

To install, configure and learn how to use Laratrust please go to the Documentation.

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.


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


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

You can’t perform that action at this time.