Payum / PayumBundle

Payum offers everything you need to work with payments. From simplest use cases to very advanced ones.
https://payum.gitbook.io/payum
MIT License
569 stars 142 forks source link

guzzle6 adapter is no longer maintained #562

Closed sovetski closed 5 months ago

sovetski commented 5 months ago

The package is no longer maintained as mentionned here: https://github.com/php-http/guzzle6-adapter

They suggest https://github.com/php-http/guzzle7-adapter/

But on the error message it suggest the version 6:

The httplug.message_factory could not be guessed. Install one of the following packages: php-http/guzzle6-adapter, zendframework/zend-diactoros. You can also overwrite the config option with your implementation.

image

And also, on Symfony we already have an HTTP client: https://symfony.com/doc/current/http_client.html

Can we use it instead? There is a related issue which is closed but I don't see any explanation on if it is implemented/possible or not

Thanks in advance

pierredup commented 5 months ago

@sovetski Thanks for the report.

PayumBundle already uses guzzle7 adapter by default. https://github.com/Payum/PayumBundle/blob/e2a3ffee369efdd414c9cb13cd2bd09eb93beaa8/composer.json#L59

Also the next version of Payum will use php-http/discovery by default to detect a PSR-18 compatible client (see Payum/Payum#975). So this will be resolved with the release of Payum V2 (and the corresponding PayumBundle release)

sovetski commented 5 months ago

@pierredup thank you for the clarification. Do you know when the v2 will be released? I know that you work on this on your free time and it is difficult to give a date, but the pull request #975 exist since november 2023 so I am asking my self if it will take a lot of time, if yes I will try to use another alternative. Thanks in advance!