Skip to content

kanata-php/socket-conveyor-docs

Repository files navigation

Socket Conveyor

A WebSocket/Socket message Router for PHP

Prerequisites

  • PHP >= 8.0
  • OpenSwoole PHP Extension

Installation

composer require kanata-php/socket-conveyor

Description

This package enables you to work with socket messages using routing strategy. It comes with some solutions such as channel or action listeners, but you can implement your own by extending the AbstractAction.

This package is built with OpenSwoole in mind, but it works with any websocket implementation. Please open a Github Issue if you find any! You can find out more how to use WebSockets with OpenSwoole here.

This package has 2 clients:

Topics:

Tests

Run Command:

./vendor/bin/phpunit

Author

👤 Savio Resende

📝 License

Copyright © 2022 Savio Resende.

This project is MIT licensed.