m2mobi / apns-php
Apple Push Notification & Feedback Provider
Installs: 16 520
Dependents: 1
Suggesters: 0
Security: 0
Stars: 9
Watchers: 3
Forks: 451
Open Issues: 1
Requires
- php: >=8.1
- ext-curl: >=8.1
- ext-json: >=8.1
- ext-mbstring: >=8.1
- lib-curl: >=7.33.0
- lib-openssl: *
- lcobucci/jwt: ~4.1 || ~5.0
- psr/log: >=1.1
Requires (Dev)
- lunr/halo: ~0.10.0
- phpunit/phpunit: >=9.0 <9.6
This package is auto-updated.
Last update: 2024-12-19 10:49:02 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]