Download the PHP package edamov/pushok without Composer
On this page you can find all versions of the php package edamov/pushok. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download edamov/pushok
More information about edamov/pushok
Files in edamov/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
Do you like the library? Please consider donating to support Ukraine πΊπ¦
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 >= 8.1
- 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 *
ext-intl Version *
ext-json Version *
ext-openssl Version *
ext-xml Version *
lib-curl Version >=7.46.0
lib-openssl Version >=1.0.2.5
web-token/jwt-library Version ^3.0