Download the PHP package openpp/notificationhubs-rest-php without Composer
On this page you can find all versions of the php package openpp/notificationhubs-rest-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download openpp/notificationhubs-rest-php
More information about openpp/notificationhubs-rest-php
Files in openpp/notificationhubs-rest-php
Download openpp/notificationhubs-rest-php
More information about openpp/notificationhubs-rest-php
Files in openpp/notificationhubs-rest-php
Vendor openpp
Package notificationhubs-rest-php
Short Description Microsoft Azure Notification Hub library for PHP
License MIT
Package notificationhubs-rest-php
Short Description Microsoft Azure Notification Hub library for PHP
License MIT
Please rate this library. Is it a good library?
Informations about the package notificationhubs-rest-php
Notification Hubs REST wrapper for PHP
This is a implementation of a REST wrapper using the REST APIs of Notification Hubs from a PHP back-end.
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):
$hub = new NotificationHub("connection string", "hubname");
Then add the send code depending on your target mobile platform.
iOS
$factory = new NotificationFactory();
$notification = $factory->createNotification("apple", "Hello from PHP!");
$hub->sendNotification($notification);
Android
$factory = new NotificationFactory();
$notification = $factory->createNotification("gcm", "Hello from PHP!");
$hub->sendNotification($notification);
Notes
This code is provided as-is with no guarantees.
All versions of notificationhubs-rest-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package openpp/notificationhubs-rest-php contains the following files
Loading the files please wait ....