We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 826b62f + d75f243 commit fdc8399Copy full SHA for fdc8399
readme.md
@@ -43,16 +43,23 @@ This is the contents of the published file :
43
```php
44
return [
45
46
- /*
47
- * Your Fcm Server Key
48
- * Change to yours
49
- */
+ /**
+ * Set your FCM Server Key
+ * Change to yours
+ */
50
51
- 'server_key' => '',
+ 'server_key' => env('FCM_SERVER_KEY', ''),
52
53
];
54
```
55
56
+Set your FCM Server Key in `.env` file :
57
+```
58
+APP_NAME="Laravel"
59
+# ...
60
+FCM_SERVER_KEY=putYourKeyHere
61
62
+
63
### Usage
64
65
If You want to send a FCM with just notification parameter, this is an example of usage sending a FCM with only data parameter :
0 commit comments