PHPackages                             openpp/notificationhubs-rest-php - 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. openpp/notificationhubs-rest-php

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

openpp/notificationhubs-rest-php
================================

Microsoft Azure Notification Hub library for PHP

0.5.0(10y ago)54.0k14[2 issues](https://github.com/webwarejp/notificationhubs-rest-php/issues)[3 PRs](https://github.com/webwarejp/notificationhubs-rest-php/pulls)1MITPHPPHP &gt;=5.3.0

Since Mar 18Pushed 7y ago4 watchersCompare

[ Source](https://github.com/webwarejp/notificationhubs-rest-php)[ Packagist](https://packagist.org/packages/openpp/notificationhubs-rest-php)[ RSS](/packages/openpp-notificationhubs-rest-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (1)

Notification Hubs REST wrapper for PHP
======================================

[](#notification-hubs-rest-wrapper-for-php)

[![Build Status](https://camo.githubusercontent.com/beac37b477bb3ee9c0244816638d7517a9f4478b6aa3ef5e59c688652232582c/68747470733a2f2f7472617669732d63692e6f72672f776562776172656a702f6e6f74696669636174696f6e687562732d726573742d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/webwarejp/notificationhubs-rest-php)[![StyleCI](https://camo.githubusercontent.com/0b18d3a4ad8ecd6ccd9918928ba1c487ba7c7425510c3745140704dfbba5d6e4/68747470733a2f2f7374796c6563692e696f2f7265706f732f33323433383532322f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/32438522)[![Build Status](https://camo.githubusercontent.com/39930d2e684fed6707d447f266f365012aea385c2db09d08ec65254ee8bfb4b2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f776562776172656a702f6e6f74696669636174696f6e687562732d726573742d7068702f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/webwarejp/notificationhubs-rest-php/)[![Code Rating](https://camo.githubusercontent.com/a1cdb04c8d545a3c6d01720d3770532650e6fac86668cf34d23f1beb2df2e887/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f776562776172656a702f6e6f74696669636174696f6e687562732d726573742d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/webwarejp/notificationhubs-rest-php/)

This is a implementation of a REST wrapper using the [REST APIs of Notification Hubs](http://msdn.microsoft.com/en-us/library/dn495827.aspx) from a PHP back-end.

How to use the code above
-------------------------

[](#how-to-use-the-code-above)

Initialize your Notification Hubs client (substitute the connection string and hub name as instructed in the [Get started tutorial](http://azure.microsoft.com/en-us/documentation/articles/notification-hubs-ios-get-started/)):

```
$hub = new NotificationHub("connection string", "hubname");

```

Then add the send code depending on your target mobile platform.

### iOS

[](#ios)

```
$factory = new NotificationFactory();
$notification = $factory->createNotification("apple", "Hello from PHP!");
$hub->sendNotification($notification);

```

### Android

[](#android)

```
$factory = new NotificationFactory();
$notification = $factory->createNotification("gcm", "Hello from PHP!");
$hub->sendNotification($notification);

```

Notes
-----

[](#notes)

This code is provided as-is with no guarantees.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~46 days

Recently: every ~56 days

Total

6

Last Release

3848d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/05985d8ab5d0fb60de1a58645e0de857ef3d56ebf67d9e0f674467ce3c69d07a?d=identicon)[shiroko](/maintainers/shiroko)

---

Top Contributors

[![shiroko](https://avatars.githubusercontent.com/u/5088389?v=4)](https://github.com/shiroko "shiroko (39 commits)")[![guillaumelecerf](https://avatars.githubusercontent.com/u/2005706?v=4)](https://github.com/guillaumelecerf "guillaumelecerf (13 commits)")

---

Tags

pushazureopenppnotificationhub

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/openpp-notificationhubs-rest-php/health.svg)

```
[![Health](https://phpackages.com/badges/openpp-notificationhubs-rest-php/health.svg)](https://phpackages.com/packages/openpp-notificationhubs-rest-php)
```

###  Alternatives

[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[duccio/apns-php

Apple Push Notification &amp; Feedback Provider

1.4k2.5M13](/packages/duccio-apns-php)[sly/notification-pusher

Standalone PHP library for easy devices notifications push.

1.2k2.8M15](/packages/sly-notification-pusher)[berkayk/onesignal-laravel

OneSignal Push Wrapper Laravel

5295.9M12](/packages/berkayk-onesignal-laravel)[edujugon/push-notification

Laravel Package to send push notifications to Android and IOS devices. (GCM,FCM,APN)

4891.4M1](/packages/edujugon-push-notification)[alymosul/exponent-server-sdk-php

Server-side library for working with Expo push notifications using PHP

1541.5M14](/packages/alymosul-exponent-server-sdk-php)

PHPackages © 2026

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