websocket-php icon indicating copy to clipboard operation
websocket-php copied to clipboard

Psr log v3

Open simPod opened this issue 1 year ago • 1 comments

Hello, is there any plan for psr/log v3 support?

simPod avatar Apr 11 '24 10:04 simPod

Yes, it will be included in v3 as it is a breaking change. No time estimation though, there are other some changes that will be breaking I want to incorporate as well.

sirn-se avatar Apr 11 '24 15:04 sirn-se

Heya, I'm using Symfony 7 which requires psr/log v3 by default. Does that mean I'm currently not able to use sirn-se/websocket-php in that project or is there any workaround which allows me to use it? Thank you!

Crease29 avatar May 30 '24 13:05 Crease29

Hi @Crease29

It shouldn't be a problem.

Looking at symfony/symfony v7 it require psr/log: ^1|^2|^3. As long as there is "common ground", Composer is able to resolve dependencies.

sirn-se avatar May 30 '24 13:05 sirn-se

For now I solved it by manually adding "psr/log": "^2" to my composer.json. Looking forward to sirn-se/websocket-php:3, thank you for your work!

Crease29 avatar May 30 '24 13:05 Crease29

Version 3.0.0 just released, supporting psr/log 3.0. Closing issue.

sirn-se avatar Jun 15 '24 11:06 sirn-se