Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

laravel

paypal

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?

like image 406
dipgirl Avatar asked Nov 15 '25 10:11

dipgirl


1 Answers

change in composer.json

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

Then update composer

like image 111
Tipu Sultan Eiko Avatar answered Nov 18 '25 11:11

Tipu Sultan Eiko



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!