Download the PHP package steveeakin/pushok without Composer
On this page you can find all versions of the php package steveeakin/pushok. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download steveeakin/pushok
More information about steveeakin/pushok
Files in steveeakin/pushok
Package pushok
Short Description PHP client for Apple Push Notification Service (APNs) - Send push notifications to iOS using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key) or certificate-based authentication
License MIT
Homepage https://github.com/edamov/pushok
Informations about the package pushok
Pushok
Pushok is a simple PHP library for sending push notifications to APNs.
Features
- [X] Uses new Apple APNs HTTP/2 connection
- [X] Supports JWT-based authentication
- [X] Supports Certificate-based authentication
- [X] Supports new iOS 10 features such as Collapse IDs, Subtitles and Mutable Notifications
- [X] Uses concurrent requests to APNs
- [X] Tested and working in APNs production environment
Requirements
- PHP >= 7.2
- lib-curl >= 7.46.0 (with http/2 support enabled)
- lib-openssl >= 1.0.2e
Docker image that meets requirements can be found here. Or you can follow this tutorial to create your own docker image with curl with HTTP/2 support.
Install
Via Composer
Getting Started
Using JWT token. See Handling Notification Responses from APNs for more info.
Using Certificate (.pem). Only the initilization differs from JWT code (above). Remember to include the rest of the code by yourself.
Note : Please see this post about ssl verification
Options to fiddle around. See Sending Notification Requests to APNs
Testing
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Arthur Edamov
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of pushok with dependencies
ext-curl Version *
lib-curl Version >=7.46.0
ext-openssl Version *
lib-openssl Version >=1.0.2.5
ext-json Version *
ext-xml Version *
ext-intl Version *
web-token/jwt-signature-algorithm-ecdsa Version ^2.0
web-token/jwt-key-mgmt Version ^2.0