Can we add AWS SQS files to the main vendor folder?

robdog

Well-known member
I need to be able to use SQS and I am able to add that through my own composer at the root level. But its interesting because some jobs will use the vendor folder that comes with XenForo instead of the root level one that I installed. And with the SQS files not being there, I am getting a warning.

I am sure I am missing something from a development perspective to specify the location of the vendor SQS files, but I just can't seem to crack this one.

Anyways, if we can add it, that would be great. Or if someone has an idea on how to specify the include location for specific vendor files, that would be great too.

Thanks.
 
Upvote 0
You should be able to use the src/vendor directory.

To be on the safe side, because we already ship a partial AWS SDK, you’ll want to pin it to the same version as us which is ~3.0 or, to be more specific, 3.325.0 is the version we shipped with 2.3.7.
 
@Chris D if I did this update, will those vendor files still exist after we run an update on our app? I find XenForo is removing files that it didn't comes with out of the "src/vendor" folder. Anyways, I will keep looking through your suggestion and see if it works.
 
Back
Top Bottom