I need to populate a blade format tag.
I\'m aware of the Model::pluck(\'column1\', \'column2\') method to populate a select tag.
Model results retrieved by the get() method are just children of the regular Support-Collection class, so you actually get access to all the same goodies. Try this:
$eloquentCollection = app(YourModel::class)
->where('field', 'value')
->get(['id', 'column_1', 'column_2']);
$mapped = $eloquentCollection->mapWithKeys(function (YourModel $model) {
return [$model->id => $model->column_1 . $model->column_2];
})