Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
771 views
in Technique[技术] by (71.8m points)

composer php - ovh/ovh requires guzzlehttp^6.0 while therobfonz/laravel-mandrill-driver requires guzzlehttp^7.0: is there any solution?

In my Laravel 8 project I had to install the mailer therobfonz/laravel-mandrill-driver; now I have to install the SMS driver ovh/ovh.

For the moment in my composer.json file I have:

    "guzzlehttp/guzzle": "^7.0",
    "therobfonz/laravel-mandrill-driver": "^3.0"

When I type: composer require ovh/ovh, I have this error:

ovh/ovh v2.1.0 requires guzzlehttp/guzzle ^6.0 -> found guzzlehttp/guzzle[6.0.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.0).

I have tried to edit composer.json by changing the version of guzzle to "^6.0", then doing composer update. However this results in an error (mandrill requires guzzle ^7.0).

What could I do?

question from:https://stackoverflow.com/questions/66060290/ovh-ovh-requires-guzzlehttp6-0-while-therobfonz-laravel-mandrill-driver-require

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

OVH v3.0.0 works with Guzzle 7.0

https://github.com/ovh/php-ovh/blob/75852ad0fee8008b6245d72a7d3ba7f09cb456ae/composer.json

Maybe you should just update OVH?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...