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-10-24 04:30:19 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, });