Uploading Files to S3 in laravel code example
Example 1: laravel 7 upload file s3
return Storage::disk('s3')->response('images/' . $image->filename);
Example 2: laravel 7 upload file s3
$path = $request->file('image')->store('images', 's3');
return Storage::disk('s3')->response('images/' . $image->filename);
$path = $request->file('image')->store('images', 's3');