chargebee / chargebee-php

PHP library for the Chargebee API.

Home Page:https://apidocs.chargebee.com/docs/api?lang=php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v3.1.0 requires guzzlehttp/guzzle ^6.5

fsjdg opened this issue · comments

Previous versions as 2.8.2 ( which is what i have installed right now ) is working fine with guzzlehttp/guzzle ^7.0 ( which is what i have installed right now ). Newest version (3.1.0) requires guzzlehttp/guzzle ^6.5 to be installed. Is there a way to handle this? Can you increase the minimum guzzlehttp/guzzle version?

I'd also be interested in knowing if this is possible.

@kbrookes i found a trick here. I forked the project, adapted as I needed, and installed the forked version.

@fsjdg & @kbrookes - we have released a RC version v3.2.0-rc.1 which does not restrict to use guzzlehttp/guzzle till 6.5

This RC version can be installed using below composer command.

composer require chargebee/chargebee-php:3.2.0-rc.1

Let us know if it worked for you. We will release stable version soon.

@cb-yateshmathuria thank you! That's great.

We wound up implementing the feature where composer will use the last call in the order of dependencies, and added ^6.5 to that - fortunately the other libraries didn't break.

We'll give this a try as well, much appreciated.

We have released stable version v3.2.0