public function show($id)
{
/** @var Attachment $attach */
$attach = Attachment::findOrFail($id);
$path = Storage::disk('private')->path($attach->path.$attach->name.'.'.$attach->extension);
return response()->file($path);
}
"maatwebsite/excel": "^3.1.55",
"phpoffice/phpspreadsheet": "^1.29.0",