Level 58
You can use the count method on the Sheet class to get the total number of rows before import.
$totalRows = \Excel::load('file.xlsx')->getSheet()->count();
Hi everyone, How can i get total number of rows before import using Laravel Excel?
Please or to participate in this conversation.