I want to get excel sheet title.
I have method controller like this:
use Maatwebsite\Excel\Facades\Excel;
public function importCSVEXCEl()
{
Excel::load('test.xls', function($reader) {
foreach($reader as $sheet)
{
$temp= $sheet->getTitle();
}
});
}
after execute this method show me error
Call to undefined method PHPExcel::getTitle()
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire