PHPackages                             nchitsike/firebase-messaging - 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. nchitsike/firebase-messaging

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

nchitsike/firebase-messaging
============================

A PHP library for Firebase Cloud Messaging authentication and notification sending

v1.0.0(8mo ago)00MITPHPPHP &gt;=7.3

Since Sep 1Pushed 8mo agoCompare

[ Source](https://github.com/nchitsike/firebase-messaging)[ Packagist](https://packagist.org/packages/nchitsike/firebase-messaging)[ RSS](/packages/nchitsike-firebase-messaging/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Firebase Messaging PHP Library
==============================

[](#firebase-messaging-php-library)

A PHP library for authenticating with Google OAuth2 and sending notifications via Firebase Cloud Messaging (FCM).

Installation
------------

[](#installation)

Install via Composer:

```
composer require nchitsike/firebase-messaging

Generating a Firebase Service Account JSON FileTo use this library, you need a Firebase service account JSON file. Follow these steps to generate it in the Firebase Console:Go to the Firebase Console:Navigate to console.firebase.google.com.

1. Sign in with your Google account and select or create a Firebase project.

2. Access Project Settings:In the Firebase Console, click the gear icon in the top-left corner and select Project settings.

3. Navigate to Service Accounts:In the Project settings page, go to the Service accounts tab.

4. Generate a New Private Key:Under Firebase Admin SDK, click Generate new private key.
A confirmation dialog will appear. Click Generate key to download the JSON file.
5. Save the file securely (e.g., your-service-account.json). Do not commit this file to version control.

6. Secure the JSON File:Store the JSON file in a secure location accessible to your application.
Add the file path to your .gitignore to prevent accidental exposure.
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance60

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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

256d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1224daf1943bac96aab7ee181ffd5adb8a0ce348e074b280e11a34ec0ced0f58?d=identicon)[nchitsike](/maintainers/nchitsike)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/nchitsike-firebase-messaging/health.svg)

```
[![Health](https://phpackages.com/badges/nchitsike-firebase-messaging/health.svg)](https://phpackages.com/packages/nchitsike-firebase-messaging)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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