divergentsoft/apns-php

PHP library for sending iOS remote push notifications

Installs: 109

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/divergentsoft/apns-php

0.1.10 2016-07-27 13:37 UTC

This package is not auto-updated.

Last update: 2025-11-04 09:22:20 UTC


README

Library used to send APNS push notifications from PHP.

Example usage:

$tokens = ["APNS token from device",...];

$message = new Message();

$message->initialize($tokens);

$message->setAlert("Thunderstorms predicted in your area");

$push = new Push();

$push->connect(false,'cert.pem');

$push->send($message);

// Get a list of failed tokens to remove for next time
$push->getFailedTokens();