szohan / appstore-server-notifications
Request handler App Store Server Notifications.
Package info
gitlab.com/Szohan/appstore-server-notifications
Type:symfony-bundle
pkg:composer/szohan/appstore-server-notifications
1.4
2022-09-01 13:38 UTC
Requires
- php: >=7.4
- ext-json: *
- ext-openssl: *
- firebase/php-jwt: ^6.3
- phpseclib/phpseclib: ^3.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Request handle and parse AppStore Server Notification to object.
Detailed information about the request can be found on the official website: https://developer.apple.com/documentation/appstoreservernotifications
Installation
This project using composer.
$ composer require szohan/appstore-server-notifications
Usage
Get payloadSigned how object.
<?php
use Szohan\AppstoreServerNotifications\Api\AppStoreNotification;
________________
$appStoreNotification = new AppStoreNotification($rawSignedPayload);
$signedPayload = $appStoreNotification->getPayload();
var_dump($signedPayload);