-1

how to import file data excel until row 5 using laravel excel 3.1? excel code

ara
  • 1
  • 1

1 Answers1

0

When you only want to return the first x rows of a sheet, you can use limit().

    public function limit(): int
    {
        return 10;
    }

https://github.com/Maatwebsite/Laravel-Excel/issues/2423

flakerimi
  • 2,580
  • 3
  • 29
  • 49