PHPackages                             nodes/push - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. nodes/push

AbandonedArchivedLibrary

nodes/push
==========

Push manager made for Laravel

2.2.17(6y ago)46.1k3[1 issues](https://github.com/nodes-php/nodes-php-push/issues)MITPHP

Since Jan 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/nodes-php/nodes-php-push)[ Packagist](https://packagist.org/packages/nodes/push)[ Docs](http://nodesagency.com)[ RSS](/packages/nodes-push/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (5)Versions (49)Used By (0)

Push
----

[](#push)

A Push manager to send push messages to mobile devices from your project.

[![Total downloads](https://camo.githubusercontent.com/d31c45bf717d24ec972558da59683a722470b8262b5c0db2101b0b0856c6235a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f6465732f707573682e737667)](https://packagist.org/packages/nodes/push)[![Monthly downloads](https://camo.githubusercontent.com/170670590f81dd61f0cecb24e765c408d13d967629e457bca9b0e79fa1a97909/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e6f6465732f707573682e737667)](https://packagist.org/packages/nodes/push)[![Latest release](https://camo.githubusercontent.com/20c76846ef6058fa438e9c4515d4e44b1c7908a1486ef2ac66964ab0f0e93f76/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f6465732f707573682e737667)](https://packagist.org/packages/nodes/push)[![Open issues](https://camo.githubusercontent.com/5f2012f421069f1ead4737a91f1eac829c6abea2cffe3471cf2323cf82db9d00/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6e6f6465732d7068702f707573682e737667)](https://github.com/nodes-php/push/issues)[![License](https://camo.githubusercontent.com/6c7917d58d9826931776d59786fe1d59c09246feed5c663c8d7da65b1e4bf10d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e6f6465732f707573682e737667)](https://packagist.org/packages/nodes/push)[![Star repository on GitHub](https://camo.githubusercontent.com/946d7948af614cd952ca2fca2f85d76d17cd777f5a1d5167c6276fc550e6e591/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6e6f6465732d7068702f707573682e7376673f7374796c653d736f6369616c266c6162656c3d53746172)](https://github.com/nodes-php/push/stargazers)[![Watch repository on GitHub](https://camo.githubusercontent.com/d2f38aa4dd4e6f7b94d410ff16f63aad1f73e1535f7d13bb5264ee571eca03f3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f6e6f6465732d7068702f707573682e7376673f7374796c653d736f6369616c266c6162656c3d5761746368)](https://github.com/nodes-php/push/watchers)[![Fork repository on GitHub](https://camo.githubusercontent.com/8f9f48a2964eccdfe6923bc7ce1fe64cee36dfae64bff598b6550e6c7fac6355/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6e6f6465732d7068702f707573682e7376673f7374796c653d736f6369616c266c6162656c3d466f726b)](https://github.com/nodes-php/push/network)[![Travis tests](https://camo.githubusercontent.com/449b472e7eb363979fafa8e1c269ad4fd710730542078869ef6478acbc2eb028/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e6f6465732d7068702f707573682e737667)](https://travis-ci.org/nodes-php/push)[![codecov](https://camo.githubusercontent.com/e99c77d45bcedbc746acb5c9398985415f2d152e2fe18916a3c8184ccf848545/68747470733a2f2f636f6465636f762e696f2f67682f6e6f6465732d7068702f707573682f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/nodes-php/push)[![StyleCI](https://camo.githubusercontent.com/fca558abd5507583e9cc42306dcb629708a03841eeb43fb8c10ce0a7153d9990/68747470733a2f2f7374796c6563692e696f2f7265706f732f34353738363039382f736869656c64)](https://styleci.io/repos/45786098)

📝 Introduction
--------------

[](#-introduction)

At [Nodes](http://nodesagency.com) we send a lot of push messages from our mobile API's.

Therefore we've created a push manager, which makes the job a lot easier

- [Urban Airship](http://urbanairship.com)

📦 Installation
--------------

[](#-installation)

To install this package you will need:

- 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.

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

Or you can run the composer require command from your terminal.

```
composer require nodes/push:^2.0
```

🔧 Setup
-------

[](#-setup)

> In Laravel 5.5 or above, service providers and aliases are [automatically registered](https://laravel.com/docs/5.5/packages#package-discovery). If you're using Laravel 5.5 or above, skip ahead directly to *Publish config files*.

Setup service provider in `config/app.php`

```
Nodes\Push\ServiceProvider::class
```

Setup alias in `config/app.php`

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

Publish config files

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

If you want to overwrite any existing config files use the `--force` parameter

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

⚙ Usage
-------

[](#-usage)

### Global method

[](#global-method)

```
push();
```

### Example

[](#example)

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

```

### Function on provider used to send push

[](#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
---------

[](#-credits)

This package is developed and maintained by the PHP team at [Nodes Agency](http://nodesagency.com)

[![Follow Nodes PHP on Twitter](https://camo.githubusercontent.com/a898a5b14227bafa0c17c43be4f67460fe2b1dc3b88627d7b959e7fae4256a45/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f6e6f6465737068702e7376673f7374796c653d736f6369616c)](https://twitter.com/nodesphp) [![Tweet Nodes PHP](https://camo.githubusercontent.com/8c1a307180498b3bb360cf73e63da1bfa3afc0306f601be021acd1e85d2bb4e4/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c2f687474702f6e6f6465737068702e7376673f7374796c653d736f6369616c)](https://twitter.com/nodesphp)

📄 License
---------

[](#-license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 91.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~30 days

Recently: every ~115 days

Total

42

Last Release

2508d ago

Major Versions

0.1.7 → 1.0.02016-06-08

1.x-dev → 2.0.02016-07-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/3aaee2c2b7632254faa8a589817712bdab2c7d46778fb26994eef75b20ec9c08?d=identicon)[nodes](/maintainers/nodes)

---

Top Contributors

[![Casperhr](https://avatars.githubusercontent.com/u/1279756?v=4)](https://github.com/Casperhr "Casperhr (137 commits)")[![JustinBusschau](https://avatars.githubusercontent.com/u/1590364?v=4)](https://github.com/JustinBusschau "JustinBusschau (4 commits)")[![rugaard](https://avatars.githubusercontent.com/u/179868?v=4)](https://github.com/rugaard "rugaard (4 commits)")[![0hsn](https://avatars.githubusercontent.com/u/3197377?v=4)](https://github.com/0hsn "0hsn (2 commits)")[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (2 commits)")[![Zeneo](https://avatars.githubusercontent.com/u/5598307?v=4)](https://github.com/Zeneo "Zeneo (1 commits)")

---

Tags

laravellaravel-5-packagepushpush-notificationsurban-airship-sdklaravelpush notificationsnodesurban airshippush messagespush manager

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nodes-push/health.svg)

```
[![Health](https://phpackages.com/badges/nodes-push/health.svg)](https://phpackages.com/packages/nodes-push)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
