dapr / php-sdk

Dapr SDK for PHP
Apache License 2.0
70 stars 15 forks source link

Allow psr/log ^2.0 #126

Closed hendrikheil closed 2 years ago

hendrikheil commented 2 years ago

Describe the proposal

Currently you cannot install dapr/php-sdk into any recent laravel projects. This is due to only allowing psr/log ^1.1 in composer.json. However, the API changes between 1.X and 2.X are pretty much only due to psr requiring php8.0 and adding type definitions.

You can compare the versions here: https://github.com/php-fig/log/compare/1.1.4...2.0.0

It would be a good idea to also allow 2.X so the package can be installed and used in recent laravel projects again.

From what I see even ^3.0 can be allowed, since the API itself hasn't changed.