get only 10 records in laravel relation code example Example: laravel eloquent get 10 records Model::all()->take(10)->get();