how to pluck multiple columns from collection in laravel code example Example: laravel pluck multiple columns YourModelName::all('id', 'name');