Skip to content

Commit e7d3b7c

Browse files
authored
Merge pull request #23 from erlangp/patch-4
Update readme.md
2 parents b7c28f5 + 8bb488c commit e7d3b7c

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

readme.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Laravel FCM
22

3-
A Simple package that help you send a firebase notification with your laravel applications
3+
A simple package that help you send a Firebase notification with your Laravel applications
44

55
### Installation
66

@@ -12,32 +12,33 @@ $ composer require kawankoding/laravel-fcm
1212

1313
Next, You must register the service provider :
1414

15-
``` php
15+
```php
1616
// config/app.php
1717

1818
'Providers' => [
19-
...
19+
// ...
2020
Kawankoding\Fcm\FcmServiceProvider::class,
2121
]
2222
```
2323

24-
If you want to make use of the facade you must install it as well:
24+
If you want to make use of the facade you must install it as well :
2525

2626
```php
2727
// config/app.php
28+
2829
'aliases' => [
29-
...
30+
// ...
3031
'Fcm' => Kawankoding\Fcm\FcmFacade::class,
3132
];
3233
```
3334

34-
Next, You must publish the config file to define your fcm server key :
35+
Next, You must publish the config file to define your FCM server key :
3536

3637
```bash
3738
php artisan vendor:publish --provider="Kawankoding\Fcm\FcmServiceProvider"
3839
```
3940

40-
This is the contents of the published file:
41+
This is the contents of the published file :
4142

4243
```php
4344
return [
@@ -76,7 +77,7 @@ fcm()
7677
->send();
7778
```
7879

79-
If You want to send a FCM with just notification parameter,this is an example of usage sending a FCM with only notification parameter :
80+
If You want to send a FCM with just notification parameter, this is an example of usage sending a FCM with only notification parameter :
8081
```php
8182
fcm()
8283
->to($recipients) // $recipients must an array

0 commit comments

Comments
 (0)