jsonbaby / websocket-pubsub
dev-main
2022-07-10 01:14 UTC
Requires
- php: ^8.0.2
- illuminate/support: ^9.0
- jsonbaby/pubsub-base: dev-main
- textalk/websocket: ^1.5
Requires (Dev)
- orchestra/testbench: ^7.1
- phpunit/phpunit: ^9.5.8
- vimeo/psalm: 5.x-dev
This package is auto-updated.
Last update: 2024-11-10 06:07:20 UTC
README
This package provides websocket publish/subscribe functionality for EventBridge.
In order to get this work you also need to install Simple PubSub WebSocket Server package or build your own:p.
Installation
composer require jsonbaby/websocket-pubsub
php artisan websocket-pubsub:install
Usage
-
Install and run Simple PubSub WebSocket Server package
-
Change
websocket_uri
and addoptions
if you want inconfig/websocket-pubsub.php
. See Websocket Client and Server for PHP package for options reference.