laravel 8 filesystem aws s3 installation code example
Example 1: use s3 storage laravel
return Storage::disk('s3')->response('images/' . $image->filename);
Example 2: laravel filesystem
$exists = Storage::disk('s3')->exists('file.jpg');
return Storage::disk('s3')->response('images/' . $image->filename);
$exists = Storage::disk('s3')->exists('file.jpg');