caollecton get several items larvel code example Example: pluck laravel $name = DB::table('users')->where('name', 'John')->pluck('name');