yii2-aws-s3 icon indicating copy to clipboard operation
yii2-aws-s3 copied to clipboard

Not able to upgrade frostealth library from 0.2.0 to 2.0.0

Open PratikshaAher29 opened this issue 3 years ago • 1 comments

Hello, I am trying to upgrade frostealth library from 0.2.0 to 2.0.0 ,I am facing below error:-

Problem 1 - Installation request for frostealth/yii2-aws-s3 2.0.0 -> satisfiable by frostealth/yii2-aws-s3[v2.0.0]. - Conclusion: don't install aws/aws-sdk-php 2.7.27 - frostealth/yii2-aws-s3 v2.0.0 requires aws/aws-sdk-php ~3.17 -> satisfiable by aws/aws-sdk-php[3.100.0, 3.100.1, 3.100.2, 3.100.3, 3.100.4, 3.100.5, 3.100.6, 3.100.7, 3.100.8, 3.100.9, 3.101.0, 3.101.1, 3.102.0.

I have php8.0 and aws-sdk-php 2.7.27 version on my machine.I hit below command to upgrade frostealth library version composer require frostealth/yii2-aws-s3 2.0.0.

I attach error screenshot here for reference Screenshot from 2022-06-02 19-14-19 Screenshot from 2022-06-02 19-14-01 Screenshot from 2022-06-02 19-13-50

PratikshaAher29 avatar Jun 02 '22 13:06 PratikshaAher29

Hi. The library with version 2.0 doesn't support aws-sdk-php with versions less than 3.17.0.

Please, update the aws-sdk-php package to the version 3.17 or greater. You can do it with the next cli command: composer install aws-sdk-php ~3.17.

Warning: this may break your dependent code and require changes.

frostealth avatar Nov 12 '22 12:11 frostealth