Download the PHP package alxmsl/mpns without Composer
On this page you can find all versions of the php package alxmsl/mpns. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor alxmsl
Package mpns
Short Description Client for Microsoft Push Notification Service (MPNS)
License WTFPL
Package mpns
Short Description Client for Microsoft Push Notification Service (MPNS)
License WTFPL
Please rate this library. Is it a good library?
Informations about the package mpns
MPNSClient
Client for Microsoft Push Notification Service (MPNS) on PHP
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
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
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);
All versions of mpns with dependencies
PHP Build Version
Package Version
Requires
alxmsl/network Version
>=1.0.1
The package alxmsl/mpns contains the following files
Loading the files please wait ....