use plucik and where method toghether in laravel code example Example: laravel pluck $users = Users::pluck('name','email'); dd($users);