Download the PHP package sperrichon/real-time-bundle without Composer
On this page you can find all versions of the php package sperrichon/real-time-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package real-time-bundle
p-sam/real-time-bundle
Real-time events from server to browsers and mobile devices via "channels"
Please note that this bundle makes uses of ably.io and Redis via Predis.
Installation
Install with composer:
Then register the bundle in the AppKernel.php
file:
Then add the following to your routing.yml
:
Note: Registering the bundle and the routes are done automatically if you're using Symfony Flex
Configuration
Configure the predis
client and ably
key in your config.yml
:
Usage
From PHP
Services are provided from the bundle:
sp_real_time.sender
: Allows sending of messages to channelssp_real_time.presence
: Allow subscribing by providing tokens, and checking for presence in channels
The following events are dispatched:
sp_real_time.event.subscribe
: ASubscribeEvent
is emitted when a token is generated for a channelsp_real_time.event.message
: AMessageEvent
is emitted when a message is sent upstream to ably.io
All versions of real-time-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2
ext-json Version *
symfony/framework-bundle Version ^4.4|^5.0
symfony/event-dispatcher Version ^4.4|^5.0
symfony/config Version ^4.4|^5.0
ramsey/uuid Version ^3.0|^4.0
ably/ably-php Version ^1.0
predis/predis Version ^1.1
ext-json Version *
symfony/framework-bundle Version ^4.4|^5.0
symfony/event-dispatcher Version ^4.4|^5.0
symfony/config Version ^4.4|^5.0
ramsey/uuid Version ^3.0|^4.0
ably/ably-php Version ^1.0
predis/predis Version ^1.1
The package sperrichon/real-time-bundle contains the following files
Loading the files please wait ....