Skip to content

kingscode/appcenter-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP AppCenter Push

Packagist license Packagist

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);

About

AppCenter Push notification api client.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages