Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
erlangparasu authored Jun 12, 2020
1 parent 1d3e4f3 commit e8879f0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,13 @@ FCM_SERVER_KEY=putYourKeyHere
If You want to send a FCM with just notification parameter, this is an example of usage sending a FCM with only data parameter :

```php
$recipients = [
'clKMv.......',
'GxQQW.......',
];

fcm()
->to($recipients) // $recipients must an array
->to($recipients)
->priority('high')
->timeToLive(0)
->data([
Expand Down

0 comments on commit e8879f0

Please sign in to comment.