Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open for use of v7.X of guzzlehttp/guzzle #2

Open
larsmars opened this issue Sep 9, 2020 · 7 comments
Open

Open for use of v7.X of guzzlehttp/guzzle #2

larsmars opened this issue Sep 9, 2020 · 7 comments

Comments

@larsmars
Copy link

larsmars commented Sep 9, 2020

Should be flexible to use latest version.

Error when other composer package is using same dep. but on later version:

Can only install one of: guzzlehttp/guzzle[6.X.X, 7.0.1].

This:
"guzzlehttp/guzzle": "~6.0"

Should be changed to something like this:
"guzzlehttp/guzzle": "^6.0|^7.0"
to open for use of latest major version of "guzzlehttp/guzzle"

@stefanedberg
Copy link

I'm also having the same problem when upgrading to Laravel 8 which requires guzzle 7.

@Krisell
Copy link

Krisell commented Sep 18, 2020

It may be as simple as @larsmars suggest, but since Guzzle 7 is a major release, it is also possible that additional changes are necessary, and that it might be harder to support both Guzzle 6 and 7.

@lalpur
Copy link

lalpur commented Sep 18, 2020

@stefanedberg i am getting a same issue ..

@ugorur
Copy link

ugorur commented Sep 21, 2020

The major issue with this upgrade is Guzzle dropped the support of PHP 5. The minimum supported PHP version is now PHP 7.2.

@Krisell
Copy link

Krisell commented Sep 21, 2020

The major issue with this upgrade is Guzzle dropped the support of PHP 5. The minimum supported PHP version is now PHP 7.2.

PHP 5.6 is EOL since almost 2 years: https://www.php.net/supported-versions.php
But I understand there are projects out there still running this version, and that updating is not trivial.

@brpetrov
Copy link

Downgrading Guzzle seems to be the only solution for now ... (not recommended)

@sebastianneubert
Copy link

oh wow. this is still an issue. the composer.json just says, that the support of guzzle7 is available. after upgrading the dependencies i got errors, that psr7 function (build_query) is not available anymore...

so this package is not compatible with guzzle7.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants