2017 © Pedro Peláez
 

library fcm-bundle

Symfony bundle for Firebase Cloud Messaging

image

moskalyovd/fcm-bundle

Symfony bundle for Firebase Cloud Messaging

  • Tuesday, January 23, 2018
  • by moskalyov
  • Repository
  • 1 Watchers
  • 0 Stars
  • 311 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 10267 % Grown

The README.md

MoskalyovdFCMBundle

Symfony bundle for Firebase Cloud Messaging, (*1)

Installation

To use this bundle in your project add following lines to your composer.json:, (*2)

``` json "require": { "moskalyovd/fcm-bundle": "^0.2" }, (*3)

```, (*4)

and enable it in your AppKernel.php:, (*5)

``` php <?php // app/AppKernel.php, (*6)

public function registerBundles() { $bundles = array( new Moskalyovd\FCMBundle\MoskalyovdFCMBundle(), ); }, (*7)

```, (*8)

Configuration

``` yaml moskalyovd_fcm: server_key: 'your_server_key', (*9)

```, (*10)

Usage

``` php, (*11)

<?php public function testAction() { $client = $this->get('moskalyovd_fcm.client');, (*12)

    $message = new Message();
    $message->addRecipient(new Device('token'));
    $message->setNotification(new Notification('Title', 'Body'));

    $response = $client->send($message);

} ```, (*13)

For more information please reffer to php-fcm library, (*14)

The Versions

23/01 2018

dev-master

9999999-dev

Symfony bundle for Firebase Cloud Messaging

  Sources   Download

The Requires

 

23/01 2018

v0.3

0.3.0.0

Symfony bundle for Firebase Cloud Messaging

  Sources   Download

The Requires

 

22/01 2018

v0.2.0

0.2.0.0

Symfony bundle for Firebase Cloud Messaging

  Sources   Download

The Requires

 

22/01 2018

v0.1.5

0.1.5.0

Symfony bundle for Firebase Cloud Messaging

  Sources   Download

The Requires

 

22/01 2018

v0.1.4

0.1.4.0

Symfony bundle for Firebase Cloud Messaging

  Sources   Download

The Requires

 

22/01 2018

v0.1.3

0.1.3.0

Symfony bundle for Firebase Cloud Messaging

  Sources   Download

The Requires

 

22/01 2018

v0.1.2

0.1.2.0

Symfony bundle for Firebase Cloud Messaging

  Sources   Download

The Requires

 

22/01 2018

v0.1.1

0.1.1.0

Symfony bundle for Firebase Cloud Messaging

  Sources   Download

The Requires

 

22/01 2018

v0.1

0.1.0.0

Symfony bundle for Firebase Cloud Messaging

  Sources   Download

The Requires

  • php >=5.3