I´m using maatwebsite/excel 3.1 in Laravel 5.8 project.
I need to set the first row fixed when exporting the excel. What was known in version 2.1 as Freeze rows.
Excel::create('Filename', function($excel) {
$excel->sheet('Sheetname', function($sheet) {
$sheet->freezeFirstColumn();
});
})->export('xls');