Come caricare un file su Amazon S3 e impostare header aggiuntivi
Cosa ho imparato oggi: come caricare un file su Amazon S3 e impostare header aggiuntivi.
Storage::disk('s3')
->getDriver()
->put( $file,
$content,
[
'visibility' => 'public',
'ContentDisposition' => 'attachment; filename="FileName.pdf"',
]
);




