Download the PHP package axel/subscription-webhooks without Composer
On this page you can find all versions of the php package axel/subscription-webhooks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download axel/subscription-webhooks
More information about axel/subscription-webhooks
Files in axel/subscription-webhooks
Package subscription-webhooks
Short Description Handling Appstore and Android subscription webhooks/notifications
License MIT
Informations about the package subscription-webhooks
Handle Appstore and Android server notifications
Installation
You can install this package via composer
The service provider will register itself. Publish the config and migration files with:
This is the config that will be published.
You should run migrate next to create the subscription_notifications table:
This packages registers a POST routes for Appstore and Android notifications to the WebhooksController of this package
Usage
When there is an change in one of the subscriptions Apple will send a POST request to a configured endpoint.
This package will send a 200 response if you configured the right Job for the right Notification Type otherwise it will send a 500 back to Apple. Apple will retry a couple of times more. The incoming payload is stored in the apple_notifications table.
Handling incoming notifications via Jobs
You should extend AnyJobFile from BaseJob
Security
If you discover any security related issues, please email [email protected]
Credits
- Daan Geurts
- Eduar Bastidas
- All Contributors
A big thanks to App Vise laravel-appstore-notifications which was a huge inspiration and starting point for this package. Even README file was copied from them
License
The MIT License (MIT). Please see License File for more information.
All versions of subscription-webhooks with dependencies
illuminate/support Version ^5.5|^6.0|^7.0|^8.0|^10.0
bensampo/laravel-enum Version *
ext-json Version *