03.09.2018 - You should attach the roles directly to the user, so: $user->roles()->attachRole($role->id);. Should be $user->attachRole($role); OR .