Search code examples
laravelcomposer-phpmandrillovh

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?


Solution

  • 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?