Skip to content

Issue with Symfony 4.2 #79

Open
Open

Description

@shahzadthathal

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.

Activity

  1. skyerus commented on May 11, 2019

    @skyerus

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

  2. shahzadthathal commented on May 14, 2019

    @shahzadthathal
    Author

    @skyerus
    Unfortunately didn't found solution yet.

  3. ctreton commented on May 16, 2019

    @ctreton

    Same here :(

  4. Damien-Lev commented on May 16, 2019

    @Damien-Lev

    same here :'(

  5. nicodemuz commented on Jun 9, 2019

    @nicodemuz

    The following worked for me:

    composer require cspoo/swiftmailer-mailgun-bundle
    composer require php-http/httplug-pack 1.1
    
  6. added a commit that references this issue on Oct 23, 2020
    20990a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions