PHPackages                             mxp100/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. [Mail &amp; Notifications](/categories/mail)
4. /
5. mxp100/pusher

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

mxp100/pusher
=============

PHP push notifications to APNS, FCM

2.1(6y ago)514.6k4Apache-2.0PHPPHP ^7.1

Since Mar 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mxp100/Pusher)[ Packagist](https://packagist.org/packages/mxp100/pusher)[ RSS](/packages/mxp100-pusher/feed)WikiDiscussions master Synced today

READMEChangelog (7)DependenciesVersions (5)Used By (0)

Pusher
======

[](#pusher)

Compatable: PHP 7+

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

[](#installation)

### Composer

[](#composer)

`composer require mxp100/pusher`

### APNS certicates generate

[](#apns-certicates-generate)

Please see Wiki:

Examples
--------

[](#examples)

Example for FCM:

```
$serverKey = '[server key]';
$deviceId = '[device token]';

$devices = new DeviceCollection([new Device($deviceId)]);
$message = new Message('This is a test message');

$adapter = new Fcm($serverKey);

$pusher = new Pusher([new Push($adapter, $devices, $message)]);
$pusher->push();
```

Example for GCM:

```
$serverKey = '[path to certification]';
$deviceId = '[device token]';

$devices = new DeviceCollection([new Device($deviceId)]);
$message = new Message('This is a test message');

$adapter = new Gcm($serverKey, AdapterInterface::ENVIRONMENT_DEVELOPMENT);

$pusher = new Pusher([new Push($adapter, $devices, $message)]);
$pusher->push();
```

Example for APNS:

```
$serverKey = '[path to certification]';
$deviceId = '[device token]';

$devices = new DeviceCollection([new Device($deviceId)]);
$message = new Message('This is a test message');

$adapter = new Apns($serverKey, AdapterInterface::ENVIRONMENT_DEVELOPMENT);

$pusher = new Pusher([new Push($adapter, $devices, $message)]);
$pusher->push();
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 93.1% 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 ~326 days

Total

4

Last Release

2412d ago

Major Versions

1.0.x-dev → 2.02019-11-25

PHP version history (2 changes)1.0PHP ^7.0

2.0PHP ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8124083?v=4)[Yuriy Potemkin](/maintainers/mxp100)[@mxp100](https://github.com/mxp100)

---

Top Contributors

[![mxp100](https://avatars.githubusercontent.com/u/8124083?v=4)](https://github.com/mxp100 "mxp100 (27 commits)")[![iliakologrivov](https://avatars.githubusercontent.com/u/17109867?v=4)](https://github.com/iliakologrivov "iliakologrivov (2 commits)")

---

Tags

apnsfcmgcmphppush-notificationspushnotificationsFCMapns

### Embed Badge

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

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

###  Alternatives

[minishlink/web-push

Web Push library for PHP

1.9k14.3M77](/packages/minishlink-web-push)[bentools/webpush-bundle

Send push notifications through Web Push Protocol to your Symfony users.

72290.6k](/packages/bentools-webpush-bundle)[mcfedr/awspushbundle

A set of services to simplify using Aws to send push notifications

40384.6k1](/packages/mcfedr-awspushbundle)[dmitrovskiy/ionic-push-php

ionic push notifications php sdk

215.5k1](/packages/dmitrovskiy-ionic-push-php)

PHPackages © 2026

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