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