2017 © Pedro Peláez
 

library notify

Simple library to send mobile apps notifications to users from PHP

image

gamesture/notify

Simple library to send mobile apps notifications to users from PHP

  • Thursday, January 26, 2017
  • by fsw
  • Repository
  • 7 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Notify

Notify is a simple library to send mobile apps notifications to users from PHP. Its primary usage is to send notifications to lots of users at once so main focus is performance. For now only supports Apples APNs (Android support probably in distant future)., (*1)

Installation

Install with Composer composer require gamesture/notify, (*2)

Usage

use Gamesture\Notify;

$provider = new Notify\Providers\Apple('/path/to/certificate.pem');
$sender = new Notify\Sender($provider);
$tokens = ['XXX', 'YYY'];
$message = new Notify\Message('Notification text');
//optionally set custom data:
//$message->badge = 2;
//$message->sound = 'bell';
//$message->custom_fields = ['notification_id' => 7];
$sender->batchSend($message, $tokens);

The Versions

26/01 2017

dev-master

9999999-dev https://github.com/Gamesture/notify

Simple library to send mobile apps notifications to users from PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php 7.*

 

by Franciszek Szczepan Wawrzak

26/01 2017

dev-feature-files-versions

dev-feature-files-versions https://github.com/Gamesture/notify

Simple library to send mobile apps notifications to users from PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php 7.*

 

by Franciszek Szczepan Wawrzak

27/10 2016

dev-prod

dev-prod https://github.com/Gamesture/notify

Simple library to send mobile apps notifications to users from PHP

  Sources   Download

BSD-2-Clause

The Requires

  • php 7.*

 

by Franciszek Szczepan Wawrzak