📌  相关文章
📜  maatwebsite excel store s3 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:28.983000             🧑  作者: Mango

代码示例1
$fileName = $date . '.xls';

    $fileContent = Excel::create($fileName , function($excel) use ($licencies) {
        $excel->sheet('Excel', function($sheet) use ($licencies) {
            $sheet->fromArray($licencies);
        });
    })->string('xls');

    Storage::disk('s3')->put($fileName, $fileContent);