File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ return [
4444
4545 /*
4646 * Your Fcm Server Key
47- * Change yo yours
47+ * Change to yours
4848 */
4949
5050 'server_key' => '',
@@ -57,6 +57,7 @@ return [
5757If You want to send a FCM with just notification parameter, this is an example of usage sending a FCM with only data parameter :
5858``` php
5959fcm()
60+ ->to($recipients)
6061 ->data([
6162 'title' => 'Test FCM',
6263 'body' => 'This is a test of FCM',
6768If You want to send a FCM with just notification parameter,this is an example of usage sending a FCM with only notification parameter :
6869``` php
6970fcm()
71+ ->to($recipients)
7072 ->notification([
7173 'title' => 'Test FCM',
7274 'body' => 'This is a test of FCM',
7779If You want to send a FCM with both data & notification parameter, this is an example of usage sending a FCM with both data & notification parameter :
7880``` php
7981fcm()
82+ ->to($recipients)
8083 ->data([
8184 'title' => 'Test FCM',
8285 'body' => 'This is a test of FCM',
Original file line number Diff line number Diff line change 44
55 /**
66 * Set your FCM Server Key
7- * Change yo yours
7+ * Change to yours
88 */
99
1010 'server_key ' => ''
You can’t perform that action at this time.
0 commit comments