Yii Framework Forum: Yii2 keeps showing "Class 'Aws\S3\S3Client' not found" - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii2 keeps showing "Class 'Aws\S3\S3Client' not found" AWS SDK in Yii2

#1 User is offline   imohd23 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 14-September 17

Posted 14 September 2017 - 07:59 AM

I have an issue than in my yii2 project, I added the files for AWS manually in vendor and under yiisoft->yii2->aws->Aws

what should I do to get rid of this issue?
it works locally, but whenever I build the app in AWS, is shows the error.
any possible solution??
0

#2 User is offline   cshehadi 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 10-July 09
  • Location:New York City

Posted 15 September 2017 - 03:55 PM

I'm not sure I understand the problem you're having, but I use the composer package:

https://packagist.or...lth/yii2-aws-s3

and it works beautifully. It seems better to use composer than to install something manually in the vendor directory.
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users