how to send push notification using FCM and php
-
clone this repo
-
run
composer install
-
get your own pvKey.json from: Firebase Console -> Project settings -> Service accounts -> Generate new private key
-
set target token
-
run send.php
Video version: https://youtu.be/iz5arafmatc
Javascript Project: https://github.com/benixal/FCM-Web-Notify-Example