I need to populate a blade format tag.
I\'m aware of the Model::pluck(\'column1\', \'column2\') method to populate a select tag.
Model::pluck(\'column1\', \'column2\')
Another simple way:
return User::select(DB::raw('CONCAT(first_name, " - ", last_name) AS full_name, id')) ->pluck('full_name', 'id');