PHPackages                             cpiber/puller - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. cpiber/puller

ActiveLibrary[API Development](/categories/api)

cpiber/puller
=============

A laravel package for broadcasting events using long-polling

v1.1(4mo ago)04MITPHP

Since Dec 29Pushed 4mo agoCompare

[ Source](https://github.com/cpiber/puller)[ Packagist](https://packagist.org/packages/cpiber/puller)[ Docs](https://github.com/cpiber/puller)[ RSS](/packages/cpiber-puller/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

Puller
======

[](#puller)

A laravel package for broadcasting events using long-polling

Installation
------------

[](#installation)

```
php artisan install:broadcasting  # do not install reverb, puller will be used instead
composer require as247/puller
php artisan migrate
npm i puller-js
```

Usage
-----

[](#usage)

### 1. Update broadcasting driver in .env file

[](#1-update-broadcasting-driver-in-env-file)

```
BROADCAST_DRIVER=puller
```

### 2. Configure Echo

[](#2-configure-echo)

```
import Echo from 'laravel-echo'
import Puller from 'puller-js'
window.Echo = new Echo({
    broadcaster: Puller.echoConnect,
});
```

Troubleshooting
---------------

[](#troubleshooting)

- If Laravel does not pick up the `puller` driver, add it to your `bootstrap/providers.php`:

    ```
