naderman / composer-aws

AWS Plugin for Composer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot redeclare Aws\constantly

aftabnaveed opened this issue · comments

In my project, I have a local dependency on Amazon AWS SDK v3. When I installed the extension and try to run composer update I get this error:

Cannot redeclare Aws\constantly() (previously declared in /srv/laravel/vendor/aws/aws-sdk-php/src/functions.php:19)

I even tried to wrap it inside function_exists but it still did not work. It seems like the extension conflicts with already installed AWS SDK hence the error.

Looks like this Repo is dead! This plugin does not work with composer update in local composer.json file.

Sorry, I don't have a use for this myself anymore, I'd be happy to let somebody else take over maintenance for this. I'll also happily merge PRs if they are sent to fix issues.

I belive this was fixed by @nielsdraaisma's PR