PHPackages                             alxmsl/mpns - 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. alxmsl/mpns

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

alxmsl/mpns
===========

Client for Microsoft Push Notification Service (MPNS)

v1.0.0(11y ago)028WTFPLPHP

Since Aug 3Pushed 11y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

MPNSClient
==========

[](#mpnsclient)

Client for Microsoft Push Notification Service (MPNS) on PHP

Toast notification example
--------------------------

[](#toast-notification-example)

```
use alxmsl\MPNS\Client;
use alxmsl\MPNS\Message\ToastMessage;

$Message = new ToastMessage();
$Message->setTitle('text1')
    ->setContent('text2')
    ->setParam('aaa')
    ->setSound('sound')
    ->setIsSilent(true);

$channelUrl = 'http://sn1.notify.live.net/throttledthirdparty/01.00/ASDWEWRWEDFDFDfdfdfdfFE3feeD444343';
$Client = new Client();
$Client->send($channelUrl, $Message);

```

Tile notification example
-------------------------

[](#tile-notification-example)

```
use alxmsl\MPNS\Client;
use alxmsl\MPNS\Message\TileMessage;

$Message = new TileMessage();
//@todo: here you can initialize tile fileds use TileMessage setters

$channelUrl = 'http://sn1.notify.live.net/throttledthirdparty/01.00/ASDWEWRWEDFDFDfdfdfdfFE3feeD444343';
$Client = new Client();
$Client->send($channelUrl, $Message);

```

Raw tile notification example
-----------------------------

[](#raw-tile-notification-example)

```
use alxmsl\MPNS\Client;
use alxmsl\MPNS\Message\RawTileMessage;

$Message = new RawTileMessage();
// Here is raw fields initialization
$Message->aaa = 'bbb';

$channelUrl = 'http://sn1.notify.live.net/throttledthirdparty/01.00/ASDWEWRWEDFDFDfdfdfdfFE3feeD444343';
$Client = new Client();
$Client->send($channelUrl, $Message);

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

4298d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/950057?v=4)[Alexey Maslov](/maintainers/alxmsl)[@alxmsl](https://github.com/alxmsl)

---

Top Contributors

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

---

Tags

pushnotificationmicrosoftmpns

### Embed Badge

![Health badge](/badges/alxmsl-mpns/health.svg)

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

###  Alternatives

[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)[edujugon/push-notification

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

4891.4M1](/packages/edujugon-push-notification)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[ladumor/one-signal

Laravel Wrapper for OneSignal.

125331.3k](/packages/ladumor-one-signal)[bentools/webpush-bundle

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

71274.3k](/packages/bentools-webpush-bundle)

PHPackages © 2026

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