Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.06 KB

README.md

File metadata and controls

22 lines (18 loc) · 1.06 KB

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.