how to get only the value when you query the data in laravel code example Example: get single column value in laravel eloquent Vehicle::find(3)->value('register_number');