get all values from table eloquent code example
Example 1: laravel eloquent get 10 records
Model::all()->take(10)->get();
Example 2: get single column value in laravel eloquent
Vehicle::find(3)->value('register_number');
Model::all()->take(10)->get();
Vehicle::find(3)->value('register_number');