centrifugal / phpcent

PHP library to communicate with Centrifugo HTTP API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Centrifugo v2 support

kai-zer-ru opened this issue · comments

Hi! Will this library have support Centrifugo v2?

Hi! Very good question:) I suppose yes at some point, but we have not discussed this with @sl4mmer yet.

@sl4mmer do you have time to update phpcent for Centrifugo v2 or at least for pull request review and publishing new release?

@kaizer666 while the state of this is not clear you still can integrate with Centrifugo v2 using HTTP API. There are no tricky parts anymore - just send POST request with API key and JSON in body and you are done. And use any JWT library to generate tokens.