Skip to content

Send push notification to IOS or Android with FCM using PHP

Notifications You must be signed in to change notification settings

kavyavsagar/fcm-push-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

FCM Push Notification

Firebase cloud messaging is a cross platform messaging solution across ios, android or web. The library of fcm support some languages such as NodeJs, Python, Java etc. We can directly use that without any pain.

If our server api is done in PHP, we can use this method to integrate FCM for push notification. In this mehod, i'm just describing the basic work flow of FCM.

Any device (ios/android) get registered which have device token and its saved into our db using an api. When we send a notification to single or multiple users which can be done with this token. Please check the source code for more clarity.

I don't mention the creation of firebase app creation and get a Server Key from there https://console.firebase.google.com/u/0/ You can refer https://firebase.google.com/docs/cloud-messaging for more details.

About

Send push notification to IOS or Android with FCM using PHP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages