kittinan / php-apn
Simple PHP Class for Apple Push Notification Service
dev-master
2014-09-23 10:26 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- satooshi/php-coveralls: dev-master
This package is auto-updated.
Last update: 2024-11-19 21:37:36 UTC
README
php-apn is a Simple Class for Apple Push Nofitication
Composer
This plugin on the Packagist.
https://packagist.org/packages/kittinan/php-apn
Usage
$CertPath = 'ck.pem'; $PassPhrase = '12345'; $apn = new \KS\APN($CertPath, $PassPhrase); $token = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; $message = 'Hello Push Notification'; $apn->send($token, $message);
License
The MIT License (MIT)