1
내 질문에 제목이있다! maatwebsite의 laravel excel을 사용하여 시트 콘텐츠를 다른 Excel로 복사하는 방법은 무엇입니까?PHP laravel에서 시트를 다른 시트로 복사하는 방법 Excel?
Excel::load(Input::file('file'), function($file)
{
$sheet1 = $file->setActiveSheetIndex(0);
Excel::create('Filename', function($excel) use($sheet1) {
// Create first sheet
$excel->sheet('First sheet', function($sheet) use ($sheet1){
$sheet = $sheet1;
});
})->export('xls');
});