Skip to content

Commit abf5796

Browse files
committed
update readme
1 parent 024afdb commit abf5796

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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 [
5757
If 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
5959
fcm()
60+
->to($recipients)
6061
->data([
6162
'title' => 'Test FCM',
6263
'body' => 'This is a test of FCM',
@@ -67,6 +68,7 @@ fcm()
6768
If 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
6970
fcm()
71+
->to($recipients)
7072
->notification([
7173
'title' => 'Test FCM',
7274
'body' => 'This is a test of FCM',
@@ -77,6 +79,7 @@ fcm()
7779
If 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
7981
fcm()
82+
->to($recipients)
8083
->data([
8184
'title' => 'Test FCM',
8285
'body' => 'This is a test of FCM',

resources/config/laravel-fcm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/**
66
* Set your FCM Server Key
7-
* Change yo yours
7+
* Change to yours
88
*/
99

1010
'server_key' => ''

0 commit comments

Comments
 (0)