NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #3794 most downloaded on Packagist
PHP library to communicate with Centrifugo HTTP API
Last release 5 months ago
07 May 2026
Release timing varies
gaps range from 2 weeks to 1.9 years
Most releases are documented
notes for 15 of 20 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
20 releases · first in 2015
Extend HTTP API methods to match current proto and clean up Client by @FZambia in #70
Full Changelog: v6.0.2...v6.0.3
fix E_DEPRECATED:Function curl_close() is deprecated since 8.5, as it… by @hetao29 in #69
Full Changelog: v6.0.1...v6.0.2
One column per quarter.
Fix for info() failing with the new HTTP API format. Added test. by @SteveTherrien in #65
Full Changelog: v6.0.0...v6.0.1
Use Centrifugo v5 HTTP API format by @AntistressStore in #63 . Centrifugo v5 introduced a new format for server HTTP API, this change moves the librar
Full Changelog: v5.1.0...v6.0.0
Since phpcent v6.0.0 we do not maintain CHANGELOG.md file.
All changes may be found on releases page on Github.
Add meta data support in jwt token by @BaBL86 in #56
In this release we adapt phpcent for Centrifugo v4:
In this release we adapt phpcent for Centrifugo v4:
generatePrivateChannelToken renamed to generateSubscriptionToken and now supports providing sub (user ID) claim - according to channel auth docs and v4 subscription token migration docs.generateConnectionToken method $userId argument is not optional anymore – it should be explicitly provided. You can still pass empty string explicitly for anonymous users.Please note, that you can generate Centrifugo tokens using any JWT library for PHP.
Deprecated history_remove removed (in favour of historyRemove )
Adapt to work with Centrifugo v3.
history_remove removed (in favour of historyRemove)presence_stats removed (in favour of presenceStats)option to force IPv4 addresses when resolving hostnames, see #44 and #45. Thanks Steve Therrien!
$client->forceIpResolveV4();
support channels JWT claim in generateConnectionToken function - which is an array of server-side channels to subscribe (see docs). Thanks, Julius TM
fix Call to undefined function phpcent\_json_last_error_msg()
Call to undefined function phpcent\_json_last_error_msg()cast user to string when generating connection token - fixes possible regression after updating to v3.0.0
library is now distributed under new name – centrifugal/phpcent.
centrifugal/phpcent.no changes here – just to sync actual version with Packagist.
fix compatibility with older PHP versions
setUseAssoc method to use assoc option while decoding JSON from serverupdate to work with Centrifugo v2
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →