PHPackages                             ramonvic/l4-pusher - 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. ramonvic/l4-pusher

ActiveLibrary[API Development](/categories/api)

ramonvic/l4-pusher
==================

Pusher.com service provider for Laravel 4, ith all settings configurable

0982↓100%PHP

Since Oct 2Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

L4Pusher - Laravel 4 Bridge for official pusher
===============================================

[](#l4pusher---laravel-4-bridge-for-official-pusher)

[![Build Status](https://camo.githubusercontent.com/2244515ed6c62ee65d6a4b7aa397fae1611d1040bfb2bccf5fdf54d51d3300eb/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72616d6f6e7669632f6c342d7075736865722f6d61737465722e7376673f7374796c653d666c6174)](https://travis-ci.org/ramonvic/l4-pusher)[![Latest Version](https://camo.githubusercontent.com/7032c0877e8858404bdc21b09bc50b9a8e317b00e6bb91c35a50562c557069bc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f72616d6f6e7669632f6c342d7075736865722e7376673f7374796c653d666c6174)](https://github.com/ramonvic/l4-pusher/releases)[![License](https://camo.githubusercontent.com/4c50e7c05ba13dd0bcc5aa4fbf69fa8f77982ec784bbfc1afc421a0da565478c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f72616d6f6e7669632f6c342d7075736865722e7376673f7374796c653d666c6174)](https://packagist.org/packages/ramonvic/l4-pusher)

L4Pusher is a [Pusher](https://pusher.com/) bridge for Laravel 4 using the [official Pusher package](https://github.com/pusher/pusher-php-server).

[Pusher](http://pusher.com/) ([Documentation](http://pusher.com/docs)) is a simple hosted API for adding realtime bi-directional functionality via WebSockets to web and mobile apps, or any other Internet connected device.

---

```
// Triggering events.
Pusher::trigger('my-channel', 'my_event', 'hello world');

// Get active channels
Pusher::get('/channels');
```

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

[](#installation)

Require this package, with [Composer](https://getcomposer.org/), in the root directory of your project.

```
composer require ramonvic/l4-pusher
```

Add the service provider to `config/app.php` in the `providers` array.

```
'Ramonvic\L4Pusher\PusherServiceProvider'
```

If you want you can use the [facade](http://laravel.com/docs/facades). Add the reference in `config/app.php` to your aliases array.

```
'L4Pusher' => 'Ramonvic\L4Pusher\Facades\Pusher'
```

#### Looking for a Laravel 5 compatible version?

[](#looking-for-a-laravel-5-compatible-version)

Please use [@vinkla's Laravel Pusher package](https://github.com/vinkla/pusher) instead.

Configuration
-------------

[](#configuration)

L4Pusher requires configuration. To get started, you'll need to publish all vendor assets:

```
php artisan config:publish ramonvic/l4-pusher
```

This will create a `config/packages/ramonvic/l4-pusher/config.php` file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.

Usage
-----

[](#usage)

Here you can see an example of just how simple this package is to use. Out of the box, the default adapter is `main`. After you enter your authentication details in the config file, it will just work:

```
// You can alias this in config/app.php.
use Ramonvic\L4Pusher\Facades\Pusher;

Pusher::trigger('my-channel', 'my-event', ['message' => $message]);
// We're done here - how easy was that, it just works!
```

Documentation
-------------

[](#documentation)

There are other classes in this package that are not documented here. This is because the package is a Laravel wrapper of [the official Pusher package](https://github.com/pusher/pusher-php-server).

License
-------

[](#license)

L4Pusher is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/83062d5bcc25aa237e0a302b601f7749281d4c916382df9f60c7b660a403645d?d=identicon)[ramonvic](/maintainers/ramonvic)

---

Top Contributors

[![ramonvic](https://avatars.githubusercontent.com/u/87956?v=4)](https://github.com/ramonvic "ramonvic (10 commits)")

### Embed Badge

![Health badge](/badges/ramonvic-l4-pusher/health.svg)

```
[![Health](https://phpackages.com/badges/ramonvic-l4-pusher/health.svg)](https://phpackages.com/packages/ramonvic-l4-pusher)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M478](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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