kingscode / appcenter-push
PHP AppCenter Push client.
0.1.3
2018-03-06 12:56 UTC
Requires
- php: >=5.6
- guzzlehttp/guzzle: ^6.0
This package is auto-updated.
Last update: 2026-03-01 00:24:36 UTC
README
PHP AppCenter Push client.
Installation
Require the package.
composer require kingscode/appcenter-push
Usage
// Create a notifier... $notifier = Notifier::make() ->setOwnerName($ownerName) // Set the owner name. ->setAppName($appName) // Set the app name. ->setToken($token); // Set the api token. // Create a notification... $notification = Notification::make() ->setName($name) //Set the notification name. ->setTitle($title) //Set the notification title. ->setBody($body); //Set the notification body. // And send the notification... $notifier->send($notification);