PHPackages                             hjbdev/laravel-pusher-batch-auth - 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. hjbdev/laravel-pusher-batch-auth

ActiveLibrary[API Development](/categories/api)

hjbdev/laravel-pusher-batch-auth
================================

A package to support the dirkbonhomme/pusher-js-auth npm package

1.0.1(4y ago)12161MITPHP

Since Nov 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hjbdev/laravel-pusher-batch-auth)[ Packagist](https://packagist.org/packages/hjbdev/laravel-pusher-batch-auth)[ RSS](/packages/hjbdev-laravel-pusher-batch-auth/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Laravel Pusher Batch Auth
=========================

[](#laravel-pusher-batch-auth)

Package to give support for [dirkbonhomme/pusher-js-auth](https://github.com/dirkbonhomme/pusher-js-auth) into Laravel.

[![Latest Version on Packagist](https://camo.githubusercontent.com/c4ed09a6ed1379e693859d285b776f0e9b054232e13bf501f0e726d5039a8e1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f686a626465762f6c61726176656c2d7075736865722d62617463682d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hjbdev/laravel-pusher-batch-auth)[![Total Downloads](https://camo.githubusercontent.com/0d3bbe6617fccfda2cbbf8f83ddf73578533ff6524877111655afd619c749863/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686a626465762f6c61726176656c2d7075736865722d62617463682d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hjbdev/laravel-pusher-batch-auth)

```
composer require hjbdev/laravel-pusher-batch-auth
```

Registers the `/broadcasting/auth/batch` route, send your auth requests there instead.

```
// routes/web.php
Route::pusherBatchAuth();
```

You may need to add an exemption in your `app/Http/Middleware/VerifyCsrfToken.php` for this route.

```
protected $except = [
    'broadcasting/auth/batch'
];
```

Example:

```
import Echo from 'laravel-echo';
import Pusher from 'pusher-js';
import PusherBatchAuthorizer from 'pusher-js-auth';

const echo = new Echo({
    broadcaster: 'pusher',
    client: new Pusher(process.env.MIX_PUSHER_APP_KEY, {
        authEndpoint: '/broadcasting/auth/batch',
        authorizer: PusherBatchAuthorizer,
        authDelay: 500,
        forceTLS: true,
        cluster: process.env.MIX_PUSHER_APP_CLUSTER,
    }),
});
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~126 days

Total

2

Last Release

1565d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42136c99644c6b8a8ea177aece5eb5120768caf367613394ad3d7d17a01662c6?d=identicon)[hjbdev](/maintainers/hjbdev)

---

Top Contributors

[![hjbdev](https://avatars.githubusercontent.com/u/30434619?v=4)](https://github.com/hjbdev "hjbdev (5 commits)")

### Embed Badge

![Health badge](/badges/hjbdev-laravel-pusher-batch-auth/health.svg)

```
[![Health](https://phpackages.com/badges/hjbdev-laravel-pusher-batch-auth/health.svg)](https://phpackages.com/packages/hjbdev-laravel-pusher-batch-auth)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.8k3](/packages/defstudio-telegraph)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.7k1](/packages/jasara-php-amzn-selling-partner-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
