Home > Mobile >  How to solve problem conflicts with your root composer.json require?
How to solve problem conflicts with your root composer.json require?

Time:12-07

when I want to composer install srmklive/paypal using composer require srmklive/paypal, I get the error like belok:

 Problem 1
    - srmklive/paypal[v3.0, ..., 3.0.10] require guzzlehttp/guzzle ~7.0 -> found guzzlehttp/guzzle[7.0.0, ..., 7.4.1] but it conflicts with your root composer.json require (^6.3).
    - Root composer.json requires srmklive/paypal ^3.0 -> satisfiable by srmklive/paypal[v3.0, ..., 3.0.10].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Does anyone know how to solve it?

CodePudding user response:

change in composer.json

"guzzlehttp/guzzle": "^6.3|^7.0.1",

Then update composer

  • Related