as247 / puller
A laravel package for broadcasting events using long-polling
v1.0
2023-11-23 16:26 UTC
This package is auto-updated.
Last update: 2024-11-24 04:37:23 UTC
README
A laravel package for broadcasting events using long-polling
Installation
composer require as247/puller php artisan migrate npm i puller-js
Usage
1. Update broadcasting driver in .env file
BROADCAST_DRIVER=puller
2. Configure Echo
import Echo from 'laravel-echo' import Puller from 'puller-js' window.Echo = new Echo({ broadcaster: Puller.echoConnect, });