Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

I need to setup amazon SNS in symfony2. For this, I tried using mcfedr/awspushbundle bundle with Symfony version 2.3.42 but I am unable to use it due to outdated dependencies. Now the issue is I cannot update my other bundles. So is there any other compatible bundle or process to do messaging using Amazon SNS??

The issue I got was

    Your requirements could not be resolved to an installable set of packages.

  Problem 1

    - mcfedr/awspushbundle 6.5.1 requires symfony/symfony ^2.8|^3.0 -> satisfiable by symfony/symfony[2.8.x-dev, 3.0.x-dev, 3.1.x-dev, 3.2.x-dev, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v3.0.0, v3.0.0-BETA1, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.1.0, v3.1.0-BETA1, v3.1.0-RC1, v3.1.1, v3.1.2] but these conflict with your requirements or minimum-stability.

    - mcfedr/awspushbundle 6.5.0 requires symfony/symfony ^2.8|^3.0 -> satisfiable by symfony/symfony[2.8.x-dev, 3.0.x-dev, 3.1.x-dev, 3.2.x-dev, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v3.0.0, v3.0.0-BETA1, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.1.0, v3.1.0-BETA1, v3.1.0-RC1, v3.1.1, v3.1.2] but these conflict with your requirements or minimum-stability.

    - Installation request for mcfedr/awspushbundle ^6.5 -> satisfiable by mcfedr/awspushbundle[6.5.0, 6.5.1].

Installation failed, reverting ./composer.json to its original content.

1 Answer

0 votes
by (44.4k points)

I successfully used the official package, available via composer AWS SNS Message Validator. But this is just for validating SNS messages.

If you need to publish messages, try the official SDK. AWS SDK It is really not that hard to handle and you don't run into dependency issues.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
asked Oct 10, 2019 in AWS by yuvraj (19.1k points)
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...