Level 65
I added a relation in User.php model
public function roles()
{
return $this->belongsToMany(config('roles.models.role'));
}
Then eager load the roles into the User collection
$user = User::find(1)->with('roles');
return $user->roles->name;
If that's what you wanted.