Etiqueta: android

Send messages to mobile devices with Google Firebase.

Send messages to mobile devices with Google Firebase. README Send messages to mobile devices with Google Firebase. Installation composer require valdeirpsr/firebasemessaging-php Sending A Basic Notification require "vendor/autoload.php"; use FirebaseMessagingFirebaseMessaging; use FirebaseMessagingFirebaseNotification; use FirebaseMessagingFirebaseCondition; $notification = new FirebaseNotification(); $notification->setTitle("Run!! New video"); $notification->setBody("Duelo...

Google Cloud Messaging (GCM) PHP Server Library

Google Cloud Messaging (GCM) PHP Server Library README A PHP library for sending messages to devices registered through Google Cloud Messaging See: http://developer.android.com/guide/google/gcm/index.html Example usage use CodeMonkeysRuGCM; $sender = new GCMSender("YOUR GOOGLE API KEY"); $message = new GCMMessage( array("device_registration_id1", "device_registration_id2"), array("data1"...