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