m2mobi / apns-php
Apple Push Notification & Feedback Provider
Installs: 15 744
Dependents: 1
Suggesters: 0
Security: 0
Stars: 9
Watchers: 3
Forks: 449
Open Issues: 6
Requires
- php: >=7.4
- ext-curl: >=7.4
- ext-json: >=7.4
- ext-mbstring: >=7.4
- lib-curl: >=7.33.0
- lib-openssl: *
- lcobucci/jwt: ~4.1 || ~5.0
- psr/log: >=1.1
Requires (Dev)
- lunr/halo: ~0.7.0
- phpunit/phpunit: >=9.0 <9.6
This package is auto-updated.
Last update: 2024-11-19 16:44:48 UTC
README
A full set of open source PHP classes to interact with the Apple Push Notification service for the iPhone, iPad and the iPod Touch.
- Sample PHP Push code
- How to generate a Push Notification certificate and download the Entrust Root Authority certificate
Packagist
https://packagist.org/packages/m2mobi/apns-php
Architecture
- Message class, to build a notification payload.
- Push class, to push one or more messages to Apple Push Notification service.
Details
All client-server activities are based on the "on error, retry" pattern with customizable timeouts, retry times and retry intervals.
Requirements
PHP 7.4.0 or later with OpenSSL and curl (at least version 7.33.0)
./configure --with-openssl[=PATH] --with-curl[=PATH]