PHPackages                             preflrv/npusher - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. preflrv/npusher

ActiveLibrary[HTTP &amp; Networking](/categories/http)

preflrv/npusher
===============

Lib para envio de push Api-Firebase

v1.0(7y ago)01.2k↓50%1[1 issues](https://github.com/coderlrv/npusher/issues)MITPHP

Since Apr 12Pushed 6y ago2 watchersCompare

[ Source](https://github.com/coderlrv/npusher)[ Packagist](https://packagist.org/packages/preflrv/npusher)[ RSS](/packages/preflrv-npusher/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

### NPusher - Envio de notificação push para API-Firebase.

[](#npusher---envio-de-notificação-push-para-api-firebase)

[Firebase](https://console.firebase.google.com/project/)

[Doc API](https://firebase.google.com/docs/cloud-messaging/send-message)

Instalação
----------

[](#instalação)

```
composer require preflrv/npusher

```

Como utilizar
-------------

[](#como-utilizar)

```
use NPusher\NPusher;

// FIREBASE_APIKEY de acesso api firebase;
//
$apiKey = 'babf40b8-7727-4c70-aaf9-e9fea28a4eea';
$pusher = new NPusher($apiKey);

//Configurações
$tokenDevice = '545454646464'  // Token do device a se recebindo msg.

$config = [
    'sound'         => 'default',
    'priority'      => 'high',
    'adicionalData' => [
        'foreground' => true
    ],
    'notification'  => [
        'body'            => 'Texto notifição',
        'title'           => 'Titulo da notificação',
    ]
];

//Envia notificação.
$pusher->notify($tokenDevice,$config);
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2639d ago

### Community

Maintainers

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

---

Top Contributors

[![eduavila](https://avatars.githubusercontent.com/u/1779843?v=4)](https://github.com/eduavila "eduavila (6 commits)")

### Embed Badge

![Health badge](/badges/preflrv-npusher/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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