chartmogul/chartmogul-php

Laravel 8 not supporting

png-prakash opened this issue · 5 comments

  • chartmogul/chartmogul-php 2.2.4 requires php-http/client-implementation ^1.0 -> satisfiable by php-http/guzzle6-adapter[dev-master, 2.x-dev, v2.0.1].
    • php-http/guzzle6-adapter v2.0.1 requires guzzlehttp/guzzle ^6.0 -> satisfiable by guzzlehttp/guzzle[6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.x-dev].
    • php-http/guzzle6-adapter 2.x-dev requires guzzlehttp/guzzle ^6.0 -> satisfiable by guzzlehttp/guzzle[6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.x-dev].
    • php-http/guzzle6-adapter dev-master requires guzzlehttp/guzzle ^6.0 -> satisfiable by guzzlehttp/guzzle[6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.x-dev].
    • Conclusion: don't install guzzlehttp/guzzle 6.5.x-dev

chartmogul/chartmogul-php 2.2.4 looks like the previous version where we had a dependency on php-http/guzzle6-adapter. Please upgrade to version 3.0.0 where we've removed dependency on any concrete HTTP client libraries

Hi
I used
composer require chartmogul/chartmogul-php:^3.0 php-http/guzzle6-adapter:^2.0.1 http-interop/http-factory-guzzle:^1.0

And I got error

Problem 1
- php-http/guzzle6-adapter 2.x-dev requires guzzlehttp/guzzle ^6.0 -> satisfiable by guzzlehttp/guzzle[6.5.x-dev].
- php-http/guzzle6-adapter v2.0.1 requires guzzlehttp/guzzle ^6.0 -> satisfiable by guzzlehttp/guzzle[6.5.x-dev].
- Conclusion: don't install guzzlehttp/guzzle 6.5.x-dev
- Installation request for php-http/guzzle6-adapter ^2.0.1 -> satisfiable by php-http/guzzle6-adapter[2.x-dev, v2.0.1].

You are specifying two versions of guzzle: 2.0.1 and 6.5.x-dev at the same time. Since you already need guzzle 6 by some other package, don't install guzzle 2.0.1. So try something like following:

composer require chartmogul/chartmogul-php:^3.0 http-interop/http-factory-guzzle:^1.0

Hi,

When install
composer require chartmogul/chartmogul-php:^3.0 http-interop/http-factory-guzzle:^1.0

I got error like this

Problem 1
- Installation request for chartmogul/chartmogul-php ^3.0 -> satisfiable by chartmogul/chartmogul-php[3.0.0].
- chartmogul/chartmogul-php 3.0.0 requires php-http/client-implementation ^1.0 -> no matching package found.

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

You need to install one of the packages that provide php-http/client-implementation you can find a list of packages that provide that here: https://packagist.org/providers/php-http/client-implementation