Metoda dołączania Latavel
$user->roles()->attach($roleId, ['expires' => $expires]);
Charming Cockroach
$user->roles()->attach($roleId, ['expires' => $expires]);