PHPackages                             mackiavelly/yii2-firebase-notifications - 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. mackiavelly/yii2-firebase-notifications

ActiveYii2-extension[Mail &amp; Notifications](/categories/mail)

mackiavelly/yii2-firebase-notifications
=======================================

This extension will make send firebase notifications easy to do for the Yii2 framework

v1.0(9y ago)01291Apache-2.0PHP

Since Nov 1Pushed 7y ago2 watchersCompare

[ Source](https://github.com/Mackiavelly/yii2-firebase-notification)[ Packagist](https://packagist.org/packages/mackiavelly/yii2-firebase-notifications)[ RSS](/packages/mackiavelly-yii2-firebase-notifications/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

Firebase Notifications Yii2
===========================

[](#firebase-notifications-yii2)

This extension will make send firebase notifications easy to do for the Yii2 framework.

Getting Started
---------------

[](#getting-started)

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

### Prerequisities

[](#prerequisities)

Yii2 application

```
composer require yiisoft/yii2

```

### Installing

[](#installing)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist "mackiavelly/yii2-firebase-notifications": "dev-master"

```

or add

```
"mackiavelly/yii2-firebase-notifications": "dev-master"

```

to the require section of your composer.json file.

Usage
-----

[](#usage)

```
$service = new FirebaseNotifications(['authKey' => 'YOUR_KEY']);

$service->sendNotification($tokens, $message);
```

you can clone the android build [here](https://github.com/Amr-alshroof/Fcm-Android), and use it to test your code.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

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

3527d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/294f0ae66d54348157eafbd6a7748d23587d8abb41a78bc94468608e666e63c8?d=identicon)[Mackiavelly](/maintainers/Mackiavelly)

---

Top Contributors

[![Mackiavelly](https://avatars.githubusercontent.com/u/11190487?v=4)](https://github.com/Mackiavelly "Mackiavelly (10 commits)")[![muayyad-alsadi](https://avatars.githubusercontent.com/u/1312683?v=4)](https://github.com/muayyad-alsadi "muayyad-alsadi (4 commits)")[![Ramzi-Alqrainy](https://avatars.githubusercontent.com/u/4533327?v=4)](https://github.com/Ramzi-Alqrainy "Ramzi-Alqrainy (3 commits)")

---

Tags

notificationfirebaseyii2extension

### Embed Badge

![Health badge](/badges/mackiavelly-yii2-firebase-notifications/health.svg)

```
[![Health](https://phpackages.com/badges/mackiavelly-yii2-firebase-notifications/health.svg)](https://phpackages.com/packages/mackiavelly-yii2-firebase-notifications)
```

###  Alternatives

[kartik-v/yii2-widget-growl

A widget to generate growl based notifications using bootstrap-growl plugin (sub repo split from yii2-widgets)

424.4M14](/packages/kartik-v-yii2-widget-growl)[kartik-v/yii2-widget-alert

A widget to generate alert based notifications using bootstrap-alert plugin (sub repo split from yii2-widgets)

304.2M24](/packages/kartik-v-yii2-widget-alert)[loveorigami/yii2-notification-wrapper

This module for renders a message from session flash (with ajax, pjax support and etc.)

76204.2k5](/packages/loveorigami-yii2-notification-wrapper)[odaialali/yii2-toastr

This is the Toastr extension for Yii 2. It encapsulates Toastr plugin in terms of Yii widgets, and makes ajax notification easy to implement.

1488.4k](/packages/odaialali-yii2-toastr)[nterms/yii2-mailqueue

Email queue component for yii2 that works with yii2-swiftmailer.

84133.5k2](/packages/nterms-yii2-mailqueue)

PHPackages © 2026

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