Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Symfony 4.2 #79

Open
shahzadthathal opened this issue Apr 21, 2019 · 5 comments
Open

Issue with Symfony 4.2 #79

shahzadthathal opened this issue Apr 21, 2019 · 5 comments

Comments

@shahzadthathal
Copy link

I tried to install it with symfony 4.2 but it display me a long list of errors and don't have idea how to fix.

composer require cspoo/swiftmailer-mailgun-bundle php-http/guzzle5-adapter
Using version ^1.2 for cspoo/swiftmailer-mailgun-bundle
Using version ^2.0 for php-http/guzzle5-adapter
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.1.*"
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - php-http/client-common v1.6.0 requires symfony/options-resolver ^2.6 || ^3.0 -> no matching package found.
    - php-http/client-common v1.4.2 requires symfony/options-resolver ^2.6 || ^3.0 -> no matching package found.
    - php-http/client-common v1.4.1 requires symfony/options-resolver ^2.6 || ^3.0 -> no matching package found.
    - php-http/client-common v1.4.0 requires symfony/options-resolver ^2.6 || ^3.0 -> no matching package found.
    - php-http/client-common v1.2.1 requires symfony/options-resolver ^2.6 || ^3.0 -> no matching package found.
    - php-http/client-common v1.2.0 requires symfony/options-resolver ^2.6|^3.0 -> no matching package found.
    - php-http/client-common v1.1.0 requires symfony/options-resolver ^2.6|^3.0 -> no matching package found.
    - php-http/client-common 1.5.0 requires symfony/options-resolver ^2.6 || ^3.0 -> no matching package found.
    - php-http/client-common 1.3.0 requires symfony/options-resolver ^2.6 || ^3.0 -> no matching package found.
    - Installation request for cspoo/swiftmailer-mailgun-bundle ^1.2 -> satisfiable by cspoo/swiftmailer-mailgun-bundle[1.2.0].
    - cspoo/swiftmailer-mailgun-bundle 1.2.0 requires mailgun/mailgun-php ^2.3 -> satisfiable by mailgun/mailgun-php[2.3.4, 2.4.1, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.8.1, v2.3.0, v2.3.1, v2.3.2, v2.3.3, v2.4.0].
    - mailgun/mailgun-php 2.8.1 requires php-http/client-common ^1.1 -> satisfiable by php-http/client-common[1.3.0, 1.5.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, v1.1.0, v1.2.0, v1.2.1, v1.4.0, v1.4.1, v1.4.2, v1.6.0].
    - mailgun/mailgun-php 2.8.0 requires php-http/client-common ^1.1 -> satisfiable by php-http/client-common[1.3.0, 1.5.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, v1.1.0, v1.2.0, v1.2.1, v1.4.0, v1.4.1, v1.4.2, v1.6.0].
    - mailgun/mailgun-php 2.7.0 requires php-http/client-common ^1.1 -> satisfiable by php-http/client-common[1.3.0, 1.5.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, v1.1.0, v1.2.0, v1.2.1, v1.4.0, v1.4.1, v1.4.2, v1.6.0].
    - mailgun/mailgun-php 2.3.4 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.1.0].
    - mailgun/mailgun-php 2.4.1 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.1.0].
    - mailgun/mailgun-php 2.5.0 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.1.0].
    - mailgun/mailgun-php 2.6.0 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.1.0].
    - mailgun/mailgun-php v2.3.0 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.1.0].
    - mailgun/mailgun-php v2.3.1 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.1.0].
    - mailgun/mailgun-php v2.3.2 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.1.0].
    - mailgun/mailgun-php v2.3.3 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.1.0].
    - mailgun/mailgun-php v2.4.0 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.1.0].
    - php-http/client-common 1.7.0 requires php-http/httplug ^1.1 -> satisfiable by php-http/httplug[v1.1.0].
    - php-http/client-common 1.8.0 requires php-http/httplug ^1.1 -> satisfiable by php-http/httplug[v1.1.0].
    - php-http/client-common 1.8.1 requires php-http/httplug ^1.1 -> satisfiable by php-http/httplug[v1.1.0].
    - php-http/client-common 1.8.2 requires php-http/httplug ^1.1 -> satisfiable by php-http/httplug[v1.1.0].
    - php-http/client-common 1.9.0 requires php-http/httplug ^1.1 -> satisfiable by php-http/httplug[v1.1.0].
    - php-http/client-common 1.9.1 requires php-http/httplug ^1.1 -> satisfiable by php-http/httplug[v1.1.0].
    - Can only install one of: php-http/httplug[v2.0.0, v1.0.0].
    - Can only install one of: php-http/httplug[v2.0.0, v1.1.0].
    - php-http/guzzle5-adapter 2.0.0 requires php-http/httplug ^2.0 -> satisfiable by php-http/httplug[v2.0.0].
    - Installation request for php-http/guzzle5-adapter ^2.0 -> satisfiable by php-http/guzzle5-adapter[2.0.0].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.
@skyerus
Copy link

skyerus commented May 11, 2019

Also having this issue, did you find a solution @shahzadthathal ?

@shahzadthathal
Copy link
Author

@skyerus
Unfortunately didn't found solution yet.

@ctreton
Copy link

ctreton commented May 16, 2019

Same here :(

@Damien-Lev
Copy link

same here :'(

@nicodemuz
Copy link

The following worked for me:

composer require cspoo/swiftmailer-mailgun-bundle
composer require php-http/httplug-pack 1.1

brandonkelly added a commit to brandonkelly/swiftmailer-mailgun-bundle that referenced this issue Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants