2017 © Pedro Peláez
 

library send-notif

Send push notifications using Google's FCM via PHP

image

pavitra14/send-notif

Send push notifications using Google's FCM via PHP

  • Wednesday, February 28, 2018
  • by pavitra14
  • Repository
  • 3 Watchers
  • 2 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

sendNotif

A php wrapper to send push notifications using Google's FCM, (*1)

Usage

include('sendNotif.php');
$push = new sendNotif();
$push->set_api_key('API_KEY');
$push->set_rid($rids); //Where $rid is an array of registration ids, atleast one is required
$push->set_msg($title, $msg, $subtitle = null, $ticketText = null, $vibrate = true, $sound = 1);
//You can also use a message array, check the code or FCM documention for the array format
$push->set_msg_arr($array);

$response = $push->send();

The Versions

28/02 2018

dev-master

9999999-dev https://github.com/pavitra14/sendNotif

Send push notifications using Google's FCM via PHP

  Sources   Download

MIT

The Requires

  • php ^5.3.3 || ^7.0

 

push gcm notifications fcm

28/02 2018

1.0

1.0.0.0 https://github.com/pavitra14/sendNotif

Send push notifications using Google's FCM via PHP

  Sources   Download

MIT

The Requires

  • php ^5.3.3 || ^7.0

 

push gcm notifications fcm