chargebee / chargebee-php

PHP library for the Chargebee API.
https://apidocs.chargebee.com/docs/api?lang=php
MIT License
72 stars 62 forks source link

v3.1.0 requires guzzlehttp/guzzle ^6.5 #36

Closed fsjdg closed 2 years ago

fsjdg commented 2 years ago

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?

kbrookes commented 2 years ago

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

fsjdg commented 2 years ago

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

cb-yateshmathuria commented 2 years ago

@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.

kbrookes commented 2 years ago

@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.

cb-yateshmathuria commented 2 years ago

We have released stable version v3.2.0