Download the PHP package supportpal/pollcast without Composer
On this page you can find all versions of the php package supportpal/pollcast. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download supportpal/pollcast
More information about supportpal/pollcast
Files in supportpal/pollcast
Package pollcast
Short Description Laravel broadcasting driver suitable for restricted hosting environments.
License MIT
Informations about the package pollcast
Pollcast. A Laravel broadcast driver using short polling.
Pollcast
"Pollcast" is short for XHR polling using Laravel Broadcasting.
Motivation
Laravel supports several broadcast drivers, but all of these either require integration with a third party service such as Pusher, or installation of additional software. The motivation behind this package is to provide a broadcast driver which works in all environments without additional configuration and is compatible with Laravel Echo.
In most cases, where you have control over the environment, you'll want to use web sockets.
Installation
Require this package with composer:
Add the ServiceProvider class to the providers
array in config/app.php
. In Laravel versions 5.5 and beyond, this step can be skipped if package auto-discovery is enabled.
Change the default broadcast driver to in your .env
file:
Add the database tables:
Finally, publish the config file config/pollcast.php
if required:
Usage
Require the pollcast-js package:
Create a fresh Laravel Echo
instance and provide the PollcastConnector
as the broadcaster:
All versions of pollcast with dependencies
ext-json Version *
goldspecdigital/laravel-eloquent-uuid Version ^10.0
illuminate/broadcasting Version ^10.0
illuminate/database Version ^10.0
illuminate/http Version ^10.0
illuminate/session Version ^10.0
illuminate/support Version ^10.0