vnphp/push-notification-bundle

Symfony2 Push notification support.

v0.3 2017-08-20 12:15 UTC

This package is auto-updated.

Last update: 2024-04-27 14:59:27 UTC


README

build status

Installation

composer require vnphp/push-notification-bundle

Usage

<?php

use Vnphp\PushNotificationBundle\Model\Message;

$message = new Message();
$message->setTitle('title')
    ->setBody('body')
    ->setIcon('icon')
    ->setClickAction('click action');

$this->get('vnphp_push_notification.notifier')->notifyUsers($message, 'token');