2017 © Pedro Peláez
 

library pushr

Library to abstract a push notification provider to a simple interface, allowing users to switch out the provider if desired..

image

srleach/pushr

Library to abstract a push notification provider to a simple interface, allowing users to switch out the provider if desired..

  • Friday, November 27, 2015
  • by srleach
  • Repository
  • 1 Watchers
  • 0 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

pushr

Modular PHP Push Notification Helper, (*1)

Usage

Installation

Simply require the module using composer, as normal:, (*2)

composer require srleach/pushr

You're ready to get started., (*3)

Using pushr

Pushr was designed to fill a gap in a project. That gap was the need for a system to allow push notifications to be sent in a flexible manner. Using a library such as this abstracts that decision to one that can be changed with little fuss at a later date, allowing you to make a just-in-time decision over which provider you'll use without blocking development., (*4)

To create a push notification, you need to get an instance of a 'push notification', (*5)

<?php

public function helloWorld()
{
    // Get a push notification.

}

About.

Note that this library was developed initially for use with the Parse.com push notification service. This service is extremely flexible, and allows a fair number of devices on their free tier. That said, There are also many other Push providers which may eventually be added to this module, time permitting., (*6)

These may include:, (*7)

  • Amazon SNS
  • Firebase

And any others I receive suggestions to create an adapter for., (*8)

The Versions

27/11 2015

dev-master

9999999-dev https://github.com/srleach/pushr

Library to abstract a push notification provider to a simple interface, allowing users to switch out the provider if desired..

  Sources   Download

Apache-2.0

The Requires

 

apple ios push parse android notifications push notifications

23/11 2015

1.0.0

1.0.0.0 https://github.com/srleach/pushr

Library to abstract a push notification provider to a simple interface, allowing users to switch out the provider if desired..

  Sources   Download

Apache-2.0

The Requires

 

apple ios push parse android notifications push notifications