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

Class "Amp\Http\Rfc7230" not found #321

Closed xcgu closed 1 year ago

xcgu commented 1 year ago

Hi

It seems there is a problem in the latest version of amp http-client

Class "Amp\Http\Rfc7230" not found in /var/www/html/dir/vendor/amphp/http-client/src/Connection/Http1Connection.php:667

Bilge commented 1 year ago

Yes https://github.com/ScriptFUSION/Porter/actions/runs/4529264734/jobs/7976828486

xtrime-ru commented 1 year ago

You should use tagged beta versions only. Latest dev versions not compatable yet.

Check example of my composer.json:

https://github.com/xtrime-ru/TelegramRSS/blob/v4/composer.json

Main part:

 "prefer-stable": true,
 "minimum-stability": "dev",