PHPackages                             unoapp-dev/laravel-pubnub - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. unoapp-dev/laravel-pubnub

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

unoapp-dev/laravel-pubnub
=========================

Pubnub event broadcast driver for Laravel/Lumen

1.0.1(7y ago)36.7kMITPHP

Since Oct 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/unoapp-dev/laravel-pubnub)[ Packagist](https://packagist.org/packages/unoapp-dev/laravel-pubnub)[ Docs](https://github.com/unoapp-dev/laravel-pubnub)[ RSS](/packages/unoapp-dev-laravel-pubnub/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

Pubnub Driver for Laravel &amp; Lumen
=====================================

[](#pubnub-driver-for-laravel--lumen)

Integrates the [Pubnub](https://github.com/pubnub/php) PHP library with Laravel and Lumen

### Installation

[](#installation)

```
composer require unoapp-dev/laravel-pubnub
```

#### Laravel 5

[](#laravel-5)

Add a ServiceProvider to your providers array in `config/app.php`:

```
'providers' => [
    'Unoappdev\PubnubDriver\PubnubServiceProvider',
]
```

#### Lumen

[](#lumen)

For `Lumen` add the following in your bootstrap/app.php

```
$app->register(Unoappdev\PubnubDriver\PubnubServiceProvider::class);
```

#### Configuration

[](#configuration)

Then in the `.env` file, add the following API keys:

```
PUBNUB_PUBLISH_KEY={YOUR_PUBNUB_PUBLISH_KEY}
PUBNUB_SUBSCRIBE_KEY={YOUR_PUBNUB_SUBSCRIBE_KEY}
```

Next in your `config/broadcasting.php` file, under the `connections` array, add the PubNub settings:

```
'pubnub' => [
    'driver' => 'pubnub',
    'publish_key' => env('PUBNUB_PUBLISH_KEY'),
    'subscribe_key' => env('PUBNUB_SUBSCRIBE_KEY'),
],
```

You probably want to change the default broadcast driver to `pubnub`.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~186 days

Total

2

Last Release

2582d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3865bde5893b49f3983eb6327f616a2ec03b855fc82b37e728ff021fcd4391f8?d=identicon)[unoapp-dev](/maintainers/unoapp-dev)

---

Top Contributors

[![unoanilahir](https://avatars.githubusercontent.com/u/23739359?v=4)](https://github.com/unoanilahir "unoanilahir (2 commits)")

---

Tags

laravellumenpubnub

### Embed Badge

![Health badge](/badges/unoapp-dev-laravel-pubnub/health.svg)

```
[![Health](https://phpackages.com/badges/unoapp-dev-laravel-pubnub/health.svg)](https://phpackages.com/packages/unoapp-dev-laravel-pubnub)
```

###  Alternatives

[artesaos/seotools

SEO Tools for Laravel and Lumen

3.3k5.1M60](/packages/artesaos-seotools)[ans-group/laravel-health-check

A package for checking the health of your Laravel/Lumen applications.

167930.0k2](/packages/ans-group-laravel-health-check)[kra8/laravel-snowflake

Snowflake for Laravel and Lumen.

188402.3k6](/packages/kra8-laravel-snowflake)[laracrafts/laravel-url-shortener

Powerful URL shortening tools in Laravel

97110.7k](/packages/laracrafts-laravel-url-shortener)[proai/lumen-annotations

Route and event binding annotations for Laravel Lumen

1012.4k](/packages/proai-lumen-annotations)

PHPackages © 2026

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