From a5f638b08fdd80f6ad2c43f596051f3c9e5aa592 Mon Sep 17 00:00:00 2001 From: Lawrence Kay Date: Thu, 31 May 2018 15:01:10 +0900 Subject: [PATCH] Update README.md * Updated few examples * Travis CI & codecov.io Badge for master branch --- README.md | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 6c7c84b..d8c57d3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ + # php-fcm-v1 [![Build Status](https://travis-ci.org/lkaybob/php-fcm-v1.svg?branch=master)](https://travis-ci.org/lkaybob/php-fcm-v1) [![codecov](https://codecov.io/gh/lkaybob/php-fcm-v1/branch/master/graph/badge.svg)](https://codecov.io/gh/lkaybob/php-fcm-v1) +[![Latest Stable Version](https://poser.pugx.org/lkaybob/php-fcm-v1/v/stable)](https://packagist.org/packages/lkaybob/php-fcm-v1) +[![Total Downloads](https://poser.pugx.org/lkaybob/php-fcm-v1/downloads)](https://packagist.org/packages/lkaybob/php-fcm-v1) +[![License](https://poser.pugx.org/lkaybob/php-fcm-v1/license)](https://packagist.org/packages/lkaybob/php-fcm-v1) php-fcm-v1 is an PHP implementation of [FCM](https://firebase.google.com/docs/cloud-messaging) HTTP v1 API @@ -22,17 +26,18 @@ HTTP v1 API, in contrast, leverages OAuth2 security model. You need to get an ac * Install the library with composer ``` - composer install lkaybob/phpFCMv1 + composer require lkaybob/php-fcm-v1 ``` - +**** * Import the library with *autoload.php* ```php - require_once __DIR__ . '/vender/autoload.php'; +