Коллекция LARAVE

$users = User::where('votes', '>', 500)->get();

$users->each->markAsVip();
Cooperative Crab