array of products data example laravel Example: laravel pluck $users = Users::pluck('name','email'); dd($users);