Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gri3li/symfony-messenger-websocket-transport
WebSocket transport for Symfony Messenger
https://github.com/gri3li/symfony-messenger-websocket-transport
symfony-messenger-transport
Last synced: 29 days ago
JSON representation
WebSocket transport for Symfony Messenger
- Host: GitHub
- URL: https://github.com/gri3li/symfony-messenger-websocket-transport
- Owner: gri3li
- License: mit
- Created: 2024-09-29T15:58:47.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-29T16:10:26.000Z (4 months ago)
- Last Synced: 2024-11-07T08:43:48.248Z (3 months ago)
- Topics: symfony-messenger-transport
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Symfony Messenger WebSocket Transport
=====================================This package provides a WebSocket transport for
the [Symfony Messenger](https://symfony.com/doc/current/components/messenger.html) component, enabling real-time
communication between Symfony Messenger and external services via WebSocket connections.Installation
------------Install the package via Composer:
```bash
composer require gri3li/symfony-messenger-websocket-transport
```Usage
-----Since all messages will be serialized and deserialized as instances of StdClass, you will most likely need to provide
custom implementations of the interfaces:- `SendersLocatorInterface`: Defines which sender will be used for dispatching a message.
- `HandlersLocatorInterface`: Defines which handler will process the message.