set up s3 storage for laravel code example Example: use s3 storage laravel return Storage::disk('s3')->response('images/' . $image->filename);