skie / broadcasting
Broadcasting plugin for CakePHP applications
Installs: 18
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:cakephp-plugin
pkg:composer/skie/broadcasting
Requires
- php: >=8.1
- cakephp/authentication: *
- cakephp/authorization: *
- cakephp/cakephp: ^5.1
- cakephp/queue: ^2.2
- firebase/php-jwt: ^6.11
- guzzlehttp/psr7: ^2.6
- pusher/pusher-php-server: ^7.2
- symfony/config: ^6.0|^7.0
- symfony/http-foundation: ^6.0
- symfony/routing: ^6.0|^7.3
Requires (Dev)
- cakephp/bake: ^3.0
- cakephp/cakephp-codesniffer: ^5.0
- phpunit/phpunit: ^10.5
- ratchet/pawl: ^0.4
- react/http: ^1.7
README
The Broadcasting plugin provides real-time event broadcasting for CakePHP applications using WebSocket connections compatible with the Pusher protocol.
Broadcasting enables real-time communication between your CakePHP application and connected clients through WebSocket channels. The plugin supports public channels for open communication, private channels for authenticated users, and presence channels for tracking active users in real-time.
The plugin implements the Pusher protocol, making it compatible with Pusher JavaScript libraries and other Pusher-compatible clients. It includes a built-in WebSocket server, channel authorization system, and flexible broadcasting adapters for immediate or queued message delivery.
The plugin integrates seamlessly with CakePHP's event system and provides command line tools for running the WebSocket server and managing connections.
Requirements
- PHP 8.2+
See Versions.md for the supported CakePHP versions.
Documentation
For documentation, as well as tutorials, see the docs directory of this repository.
License
Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.