bonnier/role-provider

There is no license information available for the latest version (2.0.0) of this package.

Laravel package to implement Roles

Installs: 86

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 11

Forks: 0

Open Issues: 3

Type:laravel-package

2.0.0 2020-01-15 08:24 UTC

README

  • composer require bonnier/role-provider
  • The user model should use the HasBonnierRoles instead of Spatie's HasRoles
<?php

namespace App;

use Bonnier\RoleProvider\Traits\HasBonnierRoles;

class User
{
    use HasBonnierRoles;
    ...