PHPackages                             m50/pusher-client - 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. m50/pusher-client

ActiveLibrary

m50/pusher-client
=================

Async PHP, Amphp based Pusher Client

v0.1.1(2y ago)040.2k↑10.5%1MITPHP

Since Mar 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/m50/php-pusher-client)[ Packagist](https://packagist.org/packages/m50/pusher-client)[ RSS](/packages/m50-pusher-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (4)Used By (0)

Pusher Client
=============

[](#pusher-client)

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

[](#installation)

```
composer require m50/pusher-client
```

Usage
-----

[](#usage)

```
$client = Client::create('my-app', 'us3');
$channel = $client->channel('my-channel');

while ($event = $channel->next(300)) {
    var_dump($event);
}
```

For more examples see the [examples directory](examples).

Features
--------

[](#features)

Async-first, but works in synchronous applications as well thanks to Amphp's implementations.

Is just a basic implementation of Pusher's feature set, as necessary for other projects.

PRs welcome for additional features.

License
-------

[](#license)

MIT License

Copyright (c) 2024 Marisa

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

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

Total

2

Last Release

799d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4bccc6d64da029282206f5f8a6bf36917bc2377532318447afea9410236250eb?d=identicon)[m50](/maintainers/m50)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/m50-pusher-client/health.svg)

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

###  Alternatives

[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k855.0k18](/packages/danog-madelineproto)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[amphp/parallel

Parallel processing component for Amp.

85046.2M74](/packages/amphp-parallel)[amphp/byte-stream

A stream abstraction to make working with non-blocking I/O simple.

393116.2M104](/packages/amphp-byte-stream)[amphp/http-server

A non-blocking HTTP application server for PHP based on Amp.

1.3k4.5M81](/packages/amphp-http-server)[amphp/http-client

An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.

7296.8M137](/packages/amphp-http-client)

PHPackages © 2026

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