PHPackages                             erp-mgroen/php-centrifugo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. erp-mgroen/php-centrifugo

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

erp-mgroen/php-centrifugo
=========================

PHP client for Centrifugo real-time messaging server

v2.0.0(8y ago)0228MITPHPPHP &gt;=5.4.0

Since Mar 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/erp-mgroen/php-centrifugo)[ Packagist](https://packagist.org/packages/erp-mgroen/php-centrifugo)[ Docs](https://github.com/oleh-ozimok/php-centrifugo)[ RSS](/packages/erp-mgroen-php-centrifugo/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (9)Used By (0)

php-centrifugo - v2, [v1](https://github.com/oleh-ozimok/php-centrifugo/tree/v1.0)
==================================================================================

[](#php-centrifugo---v2-v1)

[![Latest Stable Version](https://camo.githubusercontent.com/58b0dde49094c96409ab2fe23c36d7190e012bc68407bd8f25f9d7946785c52a/68747470733a2f2f706f7365722e707567782e6f72672f6f6c65682d6f7a696d6f6b2f7068702d63656e7472696675676f2f762f737461626c65)](https://packagist.org/packages/oleh-ozimok/php-centrifugo)[![Total Downloads](https://camo.githubusercontent.com/4ec0d8b1338ca7e647bf73c1e6478f38033af47ef3816d498b4c5dbaf3bd8e30/68747470733a2f2f706f7365722e707567782e6f72672f6f6c65682d6f7a696d6f6b2f7068702d63656e7472696675676f2f646f776e6c6f616473)](https://packagist.org/packages/oleh-ozimok/php-centrifugo)[![License](https://camo.githubusercontent.com/677ea2c012526b3e05556161d55c45bccbef15a1e30640ef44d67088f11aedd2/68747470733a2f2f706f7365722e707567782e6f72672f6f6c65682d6f7a696d6f6b2f7068702d63656e7472696675676f2f6c6963656e7365)](https://packagist.org/packages/oleh-ozimok/php-centrifugo)

PHP client for [Centrifugo](https://github.com/centrifugal/centrifugo) real-time messaging server

Features
--------

[](#features)

- Support publishing messages via Redis engine API listener (publish, broadcast, unsubscribe, disconnect methods only)
- Support client chain (Redis -&gt; HTTP -&gt; ...) as failover. If Redis down or method not supported by Redis engine API, client try send message via HTTP
- Support batch requests
- Support Predis

Quick Examples
--------------

[](#quick-examples)

### Create Centrifugo client

[](#create-centrifugo-client)

```
