PHPackages                             infi-nl/push-notifier - 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. infi-nl/push-notifier

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

infi-nl/push-notifier
=====================

Send push notifications from PHP to multiple device types

v1.0-beta.1(10y ago)149MITPHP

Since Jul 15Pushed 10y ago2 watchersCompare

[ Source](https://github.com/infi-nl/push-notifier)[ Packagist](https://packagist.org/packages/infi-nl/push-notifier)[ RSS](/packages/infi-nl-push-notifier/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Push Notifier
=============

[](#push-notifier)

PHP library for sending push notifications to multiple device types.

Apple Push Notification example
-------------------------------

[](#apple-push-notification-example)

Prepare the PushNotifier for sending Apple Push Notifications. Note that you can provide your own Pusher-strategies, to send notifications for Android and Windows Phone for example.

```
$pushNotifier = new PushNotifier(
  new PusherStrategyCollection(array(
      new ApnPusher(
          'ssl://gateway.sandbox.push.apple.com:2195',
          ''
      )
  ))
);
```

Sending an Apple Push Notification

```
$message              = new ApnMessage();
$message->body        = "";
$message->badge       = 0;
$message->deviceToken = "";

$pushNotifier->push($message);
```

Google Cloud Messaging example
------------------------------

[](#google-cloud-messaging-example)

Prepare the PushNotifier for sending Google Cloud Messages.

```
$pushNotifier = new PushNotifier(
  new PusherStrategyCollection(array(
      new GcmPusher(
        'https://android.googleapis.com/gcm/send',
        ''
      )
  ))
);
```

Sending a Google Cloud Message

```
$message                  = new GcmMessage();
$message->message         = "";
$message->title           = "";
$message->registrationIds = array("", "", ... , "");

$pushNotifier->push($message);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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

Unknown

Total

1

Last Release

3960d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/70366ed0abd7e80a3040a70f6acf87d08763a49f943e9ed2ebe654e598182682?d=identicon)[edeckers](/maintainers/edeckers)

---

Top Contributors

[![edeckers](https://avatars.githubusercontent.com/u/202540?v=4)](https://github.com/edeckers "edeckers (7 commits)")[![metcorne](https://avatars.githubusercontent.com/u/681913?v=4)](https://github.com/metcorne "metcorne (1 commits)")

### Embed Badge

![Health badge](/badges/infi-nl-push-notifier/health.svg)

```
[![Health](https://phpackages.com/badges/infi-nl-push-notifier/health.svg)](https://phpackages.com/packages/infi-nl-push-notifier)
```

###  Alternatives

[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[eduardokum/laravel-mail-auto-embed

Library for embed images in emails automatically

1702.0M5](/packages/eduardokum-laravel-mail-auto-embed)

PHPackages © 2026

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