2017 © Pedro Pelรกez
 

library push

Push manager made for Laravel

image

nodes/push

Push manager made for Laravel

  • Tuesday, June 26, 2018
  • by nodes
  • Repository
  • 1 Watchers
  • 4 Stars
  • 4,021 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 46 Versions
  • 22 % Grown

The README.md

Push

A Push manager to send push messages to mobile devices from your project., (*1)

Total downloads Monthly downloads Latest release Open issues License Star repository on GitHub Watch repository on GitHub Fork repository on GitHub Travis tests codecov StyleCI, (*2)

๐Ÿ“ Introduction

At Nodes we send a lot of push messages from our mobile API's., (*3)

Therefore we've created a push manager, which makes the job a lot easier, (*4)

๐Ÿ“ฆ Installation

To install this package you will need:, (*5)

  • Laravel 5.2+
  • PHP 7.0+

You must then modify your composer.json file and run composer update to include the latest version of the package in your project., (*6)

"require": {
    "nodes/push": "^2.0"
}

Or you can run the composer require command from your terminal., (*7)

composer require nodes/push:^2.0

๐Ÿ”ง Setup

In Laravel 5.5 or above, service providers and aliases are automatically registered. If you're using Laravel 5.5 or above, skip ahead directly to Publish config files., (*8)

Setup service provider in config/app.php, (*9)

Nodes\Push\ServiceProvider::class

Setup alias in config/app.php, (*10)

'Push' => Nodes\Push\Support\Facades\Push::class

Publish config files, (*11)

php artisan vendor:publish --provider="Nodes\Push\ServiceProvider"

If you want to overwrite any existing config files use the --force parameter, (*12)

php artisan vendor:publish --provider="Nodes\Push\ServiceProvider" --force

โš™ Usage

Global method

push();

Example

push()->setMessage('test')
->setExtra([
    'id' => 1
])
->send();

Function on provider used to send push

// Add data to push
setMessage(string $message) : ProviderInterface; // Message (Required)
setExtra(array $extra) : ProviderInterface; // Array of key/value (int, float, bool, string)

// Segment push for userId / userIds
setAlias(string $alias) : ProviderInterface;
setAliases(array $aliases) : ProviderInterface;

// Segment push for channels, like "weekend_news" or "daily_news"
setChannels(array $channels) : ProviderInterface;
setChannel(string $channel) : ProviderInterface;

// Send push, before this is executed nothing will get send
send() : array; //In request, return array of results from provider

// Advanced configs
setIOSBadge($iOSBadge) : ProviderInterface; //Control badge on iOS app icon
setSound(string $sound) : ProviderInterface; // Custom sound
removeSound() : ProviderInterface; // Remove custom sound
setIosContentAvailable(bool $iosContentAvailable) : ProviderInterface; // Should not go in notification center
setAndroidData(array $androidData) : ProviderInterface; // Add more extra for android only, android can handle 8 times more data in push than iOS
setAndroidDeliveryPriorityHigh() : ProviderInterface; // Make sure the Android device wakes up when push is recieved 
setAppGroup(string $appGroup) : ProviderInterface; // Change your default-app-group in run time. Handy for white labeling

๐Ÿ† Credits

This package is developed and maintained by the PHP team at Nodes Agency, (*13)

Follow Nodes PHP on Twitter Tweet Nodes PHP, (*14)

๐Ÿ“„ License

This package is open-sourced software licensed under the MIT license, (*15)

The Versions

26/06 2018

dev-master

9999999-dev http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Casper Rasmussen

laravel nodes urban airship push notifications push messages push manager

26/06 2018

2.2.14

2.2.14.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Casper Rasmussen

laravel nodes urban airship push notifications push messages push manager

27/03 2018

2.2.13

2.2.13.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Casper Rasmussen

laravel nodes urban airship push notifications push messages push manager

27/03 2018

2.2.12

2.2.12.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Casper Rasmussen

laravel nodes urban airship push notifications push messages push manager

13/09 2017

2.2.11

2.2.11.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Casper Rasmussen

laravel nodes urban airship push notifications push messages push manager

13/09 2017

dev-develop

dev-develop http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Casper Rasmussen

laravel nodes urban airship push notifications push messages push manager

13/09 2017

dev-bugfix/wns-does-not-support-named-users

dev-bugfix/wns-does-not-support-named-users http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Casper Rasmussen

laravel nodes urban airship push notifications push messages push manager

31/08 2017

2.2.10

2.2.10.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Casper Rasmussen

laravel nodes urban airship push notifications push messages push manager

30/08 2017

dev-feature/named-users

dev-feature/named-users http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Casper Rasmussen

laravel nodes urban airship push notifications push messages push manager

30/08 2017

2.2.9

2.2.9.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Casper Rasmussen

laravel nodes urban airship push notifications push messages push manager

18/06 2017

2.2.8

2.2.8.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Casper Rasmussen

laravel nodes urban airship push notifications push messages push manager

14/06 2017

2.2.7

2.2.7.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Casper Rasmussen

laravel nodes urban airship push notifications push messages push manager

13/06 2017

2.2.6

2.2.6.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

13/06 2017

2.2.5

2.2.5.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

16/02 2017

2.2.4

2.2.4.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

16/02 2017

2.2.3

2.2.3.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

09/01 2017

2.2.2

2.2.2.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

09/01 2017

dev-Casperhr-patch-1

dev-Casperhr-patch-1 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

05/01 2017

2.2.1

2.2.1.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

05/01 2017

dev-feature/push

dev-feature/push http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

01/11 2016

2.2.0

2.2.0.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

31/10 2016

dev-content-available-test

dev-content-available-test http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

28/10 2016

2.1.5

2.1.5.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

04/10 2016

2.1.4

2.1.4.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

04/10 2016

2.1.3

2.1.3.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

04/10 2016

2.1.2

2.1.2.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

22/09 2016

2.1.1

2.1.1.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

22/09 2016

2.1.0

2.1.0.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

15/09 2016

2.0.6

2.0.6.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

08/09 2016

2.0.5

2.0.5.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

08/09 2016

2.0.4

2.0.4.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

18/08 2016

2.0.3

2.0.3.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

16/08 2016

2.0.2

2.0.2.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

12/07 2016

2.0.1

2.0.1.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

12/07 2016

2.0.0

2.0.0.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel nodes urban airship push notifications push messages push manager

08/06 2016

1.x-dev

1.9999999.9999999.9999999-dev http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

laravel nodes urban airship push notifications push messages push manager

08/06 2016

1.0.1

1.0.1.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

laravel nodes urban airship push notifications push messages push manager

08/06 2016

1.0.0

1.0.0.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

laravel nodes urban airship push notifications push messages push manager

28/04 2016

0.1.7

0.1.7.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

laravel nodes push notifications push messages push manager

19/04 2016

0.1.6

0.1.6.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

laravel nodes push notifications push messages push manager

17/02 2016

0.1.5

0.1.5.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

laravel nodes push notifications push messages push manager

17/02 2016

0.1.4

0.1.4.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

laravel nodes push notifications push messages push manager

06/02 2016

0.1.3

0.1.3.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

laravel nodes push notifications push messages push manager

27/01 2016

0.1.2

0.1.2.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

laravel nodes push notifications push messages push manager

27/01 2016

0.1.1

0.1.1.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

laravel nodes push notifications push messages push manager

25/01 2016

0.1.0

0.1.0.0 http://nodesagency.com

Push manager made for Laravel

  Sources   Download

MIT

The Requires

 

laravel nodes push notifications push messages push manager