billbeeio / billbee-php-sdk

🔌 The official Billbee API SDK for PHP 💻
MIT License
21 stars 25 forks source link

Dependencies outdated for modern frameworks #60

Closed cainytheslave closed 2 years ago

cainytheslave commented 2 years ago

I am building a custom Laravel Application and would love to use the SDK but unfortunately there are multiple dependencies that are too low in order for it to install with composer.

Question 1: Is is easy to fork the project and make the changes so the SDK can use the newer Versions? Question 2: Is it possible to just use both versions in my composer in order to support the SDK as well as Laravel?

What would be your approach when you got such a problem? Any help appreciated.

devtronic commented 2 years ago

Updating the version constraint for psr/log should be no problem since there are only changes for type constraints.

The SDK depends on Guzzle 7.4.0: https://github.com/billbeeio/billbee-php-sdk/blob/master/composer.json#L11

Maybe you depend on another package that requires guzzle 6.3?

devtronic commented 2 years ago

psr/log Constraint was updated in v2.1.0 https://packagist.org/packages/billbee/billbee-api#v2.1.0