vnphp/push-notification-bundle

Symfony2 Push notification support.

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

This package is auto-updated.

Last update: 2024-10-27 16:04:22 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');