Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpcent Laravel Package

centrifugal/phpcent

PHP client library for Centrifugo v5 HTTP API. Publish, broadcast, subscribe, manage presence and history, plus generate JWT connection and subscription tokens. Install via Composer with composer require centrifugal/phpcent:~6.0.

View on GitHub
Deep Wiki
Context7
v6.0.3

What's Changed

Full Changelog: https://github.com/centrifugal/phpcent/compare/v6.0.2...v6.0.3

v6.0.2

What's Changed

New Contributors

Full Changelog: https://github.com/centrifugal/phpcent/compare/v6.0.1...v6.0.2

v6.0.1

What's Changed

Full Changelog: https://github.com/centrifugal/phpcent/compare/v6.0.0...v6.0.1

v6.0.0

What's Changed

  • Use Centrifugo v5 HTTP API format by @AntistressStore in https://github.com/centrifugal/phpcent/pull/63. Centrifugo v5 introduced a new format for server HTTP API, this change moves the library to use new API format. If you are using Centrifugo v5 – then the update to phpcent v6.0.0 should be smooth without additional changes in the code (since API format changes are all internal implementation detail). If you have Centrifugo v4 – then you can't use phpcent v6 - in this case stay with phpcent v5.x.

New Contributors

Full Changelog: https://github.com/centrifugal/phpcent/compare/v5.1.0...v6.0.0

v5.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/centrifugal/phpcent/compare/v5.0.0...v5.1.0

v5.0.0

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.
  • In 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.

v4.0.0

Adapt to work with Centrifugo v3.

  • Deprecated history_remove removed (in favour of historyRemove)
  • Deprecated presence_stats removed (in favour of presenceStats)
  • Drop support for PHP < 7.0.0
v3.1.1
v3.1.0
v3.0.2
v3.0.1
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log