PHPackages                             paliari/php-push-notification - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. paliari/php-push-notification

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

paliari/php-push-notification
=============================

0.1.0(8y ago)4330MIT

Since Jan 5Compare

[ Source](https://github.com/paliari/php-push-notification)[ Packagist](https://packagist.org/packages/paliari/php-push-notification)[ RSS](/packages/paliari-php-push-notification/feed)WikiDiscussions Synced 2w ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

php-push-notification
---------------------

[](#php-push-notification)

### Installation

[](#installation)

```
$ composer require paliari/php-push-notification

```

### Usage

[](#usage)

#### Initialize with your credentials

[](#initialize-with-your-credentials)

```
use Paliari\PushFacade;
$configs = [
 'one_signal' => [
   '' => [
     'app_id'       => '',
     'rest_api_key' => '',
   ],
   '' => [
     'app_id'       => '',
     'rest_api_key' => '',
   ],
 ],
 'expo'       => [...],
];

PushFacade::setUp($configs);
```

#### Send notifications from anywhere in your application

[](#send-notifications-from-anywhere-in-your-application)

```
use Paliari\PushFacade;

$tokens = ['', '',''];
$extra_params = [
  'title' => '', // optional
  'url' => 'http://website.com', // optional for web
  'data' => [
    '' => '',
    // ... any ...
  ],
];
$provider = PushFacade::ONE_SIGNAL;
$app_name = '';
$message = '';
PushFacade::provider($provider, $app_name)->send($message, $tokens, $extra_params);
```

### See

[](#see)

- [OneSignal](https://documentation.onesignal.com/reference#create-notification)
- [Expo Push Notifications](https://docs.expo.io/versions/latest/guides/push-notifications.html)

### Authors

[](#authors)

- [Marcos A Paliari](https://www.paliari.com.br)
- [Daniel Fernando Lourusso](https://www.paliari.com.br)

License
-------

[](#license)

This project is licensed under [MIT License](http://en.wikipedia.org/wiki/MIT_License)

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.5% 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 ~78 days

Total

5

Last Release

3193d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a13dc67ef911d64ef1d277d25bc7831c22ce77ccf28730372cb7861440b6ab37?d=identicon)[paliari](/maintainers/paliari)

---

Top Contributors

[![paliari](https://avatars.githubusercontent.com/u/2801041?v=4)](https://github.com/paliari "paliari (26 commits)")[![dflourusso](https://avatars.githubusercontent.com/u/5544901?v=4)](https://github.com/dflourusso "dflourusso (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/paliari-php-push-notification/health.svg)

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

###  Alternatives

[bigbharatjain/laravel-clickatell

This package makes it easy to send sms using clickatell.com with Laravel 5.

1435.2k](/packages/bigbharatjain-laravel-clickatell)

PHPackages © 2026

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