Set Laravel Menambahkan

return $user->append('is_admin')->toArray();

return $user->setAppends(['is_admin'])->toArray();
Asif Patel