amphp / http-client

An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.
https://amphp.org/http-client
MIT License
704 stars 66 forks source link

is latest version (4.6.2) imcompatible with latest amphp/amp (3) version? #318

Closed arashnz closed 1 year ago

arashnz commented 1 year ago

Hello,

I installed latest version of amp using composer, and composer created this line in my composer.json file: "amphp/amp": "^3.0" Now, i want to install latest version of amp/http-client and i receive this error:

Your requirements could not be resolved to an installable set of packages. Problem 1

how can i solve this problem?

enumag commented 1 year ago

No, for now only the 5.x dev version is compatible with amphp 3. You can use this:

"amphp/http-client": "^5.0@beta",
arashnz commented 1 year ago

is this release stable? can i use older versions?

seems latest compatible stable release is v0.7.1 that i know have some serious bugs

kelunik commented 1 year ago

Not sure where you found 0.7.1. 4.x is the latest stable version compatible with amphp/amp 2.x. If you want to use amphp/amp 3.x, you have to use the beta versions which are not stable, yet.