dapr/php-sdk

Allow psr/log ^2.0

hendrikheil opened this issue · 0 comments

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: php-fig/log@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.