PHP code example of jildertmiedema / windows-phone-push

1. Go to this page and download the library: Download jildertmiedema/windows-phone-push library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jildertmiedema / windows-phone-push example snippets



{
    $uri = "{the uri}";

    $notifier = new JildertMiedema\WindowsPhone\WindowsPhonePushNotification();
    $result = $notifier->pushToast($uri, "Test app", "Test message");

    var_dump($result);
} catch (Exception $e) {
    var_dump($e)
}