Laravel menghapus file setelah diunduh
$filePath = public_path($file_name); //ex.
return Response::download($filePath)->deleteFileAfterSend(true);
Lazurite
$filePath = public_path($file_name); //ex.
return Response::download($filePath)->deleteFileAfterSend(true);