laravel files s3 code example
Example 1: laravel s3 download file
return Storage::download('file.jpg');
return Storage::download('file.jpg', $name, $headers);
Example 2: use s3 storage laravel
return Storage::disk('s3')->response('images/' . $image->filename);