kanata-php / socket-conveyor
A WebSocket/Socket message Router
Fund package maintenance!
kanata-php
Requires
- php: ^8.2
- ext-openswoole: ^22.0|^22.1
- league/pipeline: ^1.0
- lotharthesavior/hook: ^0.0.1
- symfony/event-dispatcher: ^7.0
- symfony/workflow: ^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.41
- kanata-php/conveyor-server-client: ^0.1.0
- mockery/mockery: ^1.4
- openswoole/core: ^22.1
- openswoole/ide-helper: ^22.0
- phpro/grumphp: ^2.3
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.2
- squizlabs/php_codesniffer: ^3.7
- symfony/var-dumper: ^6.1
- dev-master
- 3.0.1-beta
- 3.0.0-beta
- 2.3.0
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.0
- 1.4.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- 0.0.1
This package is auto-updated.
Last update: 2024-10-26 04:36:09 UTC
README
This package enables you to work with socket messages using routing strategy. For that, you just add an Action Handler implementing the ActionInterface
to the SocketMessageRouter
and watch the magic happen!
As an example of how to accomplish that with PHP, you can use the OpenSwoole. You can find out more how to use WebSockets with OpenSwoole here.
Built for PHP8.2+.
See more at the Documentation.