Skip to content

Commit a5f638b

Browse files
committed
Update README.md
* Updated few examples * Travis CI & codecov.io Badge for master branch
1 parent 5828756 commit a5f638b

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
12
# php-fcm-v1
23
[![Build Status](https://travis-ci.org/lkaybob/php-fcm-v1.svg?branch=master)](https://travis-ci.org/lkaybob/php-fcm-v1)
34
[![codecov](https://codecov.io/gh/lkaybob/php-fcm-v1/branch/master/graph/badge.svg)](https://codecov.io/gh/lkaybob/php-fcm-v1)
5+
[![Latest Stable Version](https://poser.pugx.org/lkaybob/php-fcm-v1/v/stable)](https://packagist.org/packages/lkaybob/php-fcm-v1)
6+
[![Total Downloads](https://poser.pugx.org/lkaybob/php-fcm-v1/downloads)](https://packagist.org/packages/lkaybob/php-fcm-v1)
7+
[![License](https://poser.pugx.org/lkaybob/php-fcm-v1/license)](https://packagist.org/packages/lkaybob/php-fcm-v1)
48

59
php-fcm-v1 is an PHP implementation of [FCM](https://firebase.google.com/docs/cloud-messaging) HTTP v1 API
610

@@ -22,17 +26,18 @@ HTTP v1 API, in contrast, leverages OAuth2 security model. You need to get an ac
2226
* Install the library with composer
2327

2428
```
25-
composer install lkaybob/phpFCMv1
29+
composer require lkaybob/php-fcm-v1
2630
```
27-
31+
****
2832
* Import the library with *autoload.php*
2933

3034
```php
31-
require_once __DIR__ . '/vender/autoload.php';
35+
<?php
36+
require_once __DIR__ . '/vendor/autoload.php';
3237

33-
use lkaybob\phpFCMv1\Client;
34-
use lkaybob\phpFCMv1\Notification;
35-
use lkaybob\phpFCMv1\Recipient;
38+
use phpFCMv1\Client;
39+
use phpFCMv1\Notification;
40+
use phpFCMv1\Recipient;
3641
```
3742

3843
* Create Necessary class instances, Client, Recipient, Notification/Data
@@ -132,10 +137,7 @@ HTTP v1 API, in contrast, leverages OAuth2 security model. You need to get an ac
132137

133138
### Future Works
134139

135-
[ ] Implement simultaneous send (Currently supports single recipient or topic one at a time)
136-
137-
[ ] Setup Read the Docs
138-
139-
[ ] Add CI Test
140-
141-
[ ] Add CodeCov Badge
140+
- [ ] Implement simultaneous send (Currently supports single recipient or topic one at a time)
141+
- [ ] Setup Read the Docs
142+
- [x] Add CI Test
143+
- [x] Add CodeCov Badge

0 commit comments

Comments
 (0)