PHPackages                             pavitra14/send-notif - 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. pavitra14/send-notif

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

pavitra14/send-notif
====================

Send push notifications using Google's FCM via PHP

1.0(8y ago)110MITPHPPHP ^5.3.3 || ^7.0

Since Feb 28Pushed 8y ago2 watchersCompare

[ Source](https://github.com/pavitra14/sendNotif)[ Packagist](https://packagist.org/packages/pavitra14/send-notif)[ Docs](https://github.com/pavitra14/sendNotif)[ RSS](/packages/pavitra14-send-notif/feed)WikiDiscussions master Synced today

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

sendNotif
=========

[](#sendnotif)

A php wrapper to send push notifications using Google's FCM

Usage
-----

[](#usage)

```
include('sendNotif.php');
$push = new sendNotif();
$push->set_api_key('API_KEY');
$push->set_rid($rids); //Where $rid is an array of registration ids, atleast one is required
$push->set_msg($title, $msg, $subtitle = null, $ticketText = null, $vibrate = true, $sound = 1);
//You can also use a message array, check the code or FCM documention for the array format
$push->set_msg_arr($array);

$response = $push->send();

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

2992d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1232b7d55f7cbc2af80501d336140d50c240772e3104ee58b65a952d2de47bc6?d=identicon)[pavitra14](/maintainers/pavitra14)

---

Top Contributors

[![pavitra14](https://avatars.githubusercontent.com/u/7106809?v=4)](https://github.com/pavitra14 "pavitra14 (5 commits)")

---

Tags

pushnotificationsgcmFCM

### Embed Badge

![Health badge](/badges/pavitra14-send-notif/health.svg)

```
[![Health](https://phpackages.com/badges/pavitra14-send-notif/health.svg)](https://phpackages.com/packages/pavitra14-send-notif)
```

###  Alternatives

[edujugon/push-notification

Laravel Package to send push notifications to Android and IOS devices. (GCM,FCM,APN)

4891.4M1](/packages/edujugon-push-notification)[paragraph1/php-fcm

PHP application server for google firebase cloud messaging (FCM)

1991.2M10](/packages/paragraph1-php-fcm)[bentools/webpush-bundle

Send push notifications through Web Push Protocol to your Symfony users.

71274.3k](/packages/bentools-webpush-bundle)[mcfedr/awspushbundle

A set of services to simplify using Aws to send push notifications

40378.6k1](/packages/mcfedr-awspushbundle)[kedniko/firebase-cloud-messaging-http-v1-php

Firebase cloud messaging http v1 php

124.8k](/packages/kedniko-firebase-cloud-messaging-http-v1-php)

PHPackages © 2026

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