Skip to content

vishalvvr/fcm_downstream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

FCM Downstream messaging using http using PHP

FCM basically supports two types of downstram messaging HTTP and XMPP :

This script facilitate Php implementation for FCM Downstream messaging using http. This script requires five inputs:

  1. Server key
       Click on the settings icon/cog wheel next to your project name at the top of the new Firebase Console
       Click Project settings
       Click on the Cloud Messaging tab
       The key is right under Server Key.
  2. Device Token
       This one can through app only using getToken().
  3. Message
  4. Title
  5. Payload data
       In script some default data is considered so asper your requirement plz update.

At the time of creation this script is working fine but this post is public expect some changes in future.

Thanks,
@Vishal VVR.

About

Implementation for FCM Downstream(php & angular).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages