laravel elequant get column values code example
Example 1: get single column value in laravel eloquent
Vehicle::find(3)->value('register_number');
Example 2: eloquest how to select one specific column in database
ModelName::find($id, ['name', 'surname']);