I am trying getObject() from aws bucket, but when try s3Client, error: ‘class AwsS3S3Client not found’
$s3Client = S3Client::factory([ 'credentials' => [ 'key' => $key, 'secret' => $secret ], 'region' => $region, 'version' => 'latest', 'scheme' => 'http' ]);
Advertisement
Answer
It seems like the aws skd isn’t installed. Try to install by command
composer require aws/aws-sdk-php