PHPackages                             deigon/firebase - 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. [API Development](/categories/api)
4. /
5. deigon/firebase

ActiveLibrary[API Development](/categories/api)

deigon/firebase
===============

Firebase SDK PHP

0.0.1(4y ago)039PHP

Since Oct 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/deigonPrates/firebase)[ Packagist](https://packagist.org/packages/deigon/firebase)[ RSS](/packages/deigon-firebase/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

About
-----

[](#about)

Simple script for firebase integration

Requirements
------------

[](#requirements)

- \[FCM\_TOKEN\] Console Firebase &gt; Project &gt; Config Project &gt; Cloud Messaging &gt; Server key.

Install
-------

[](#install)

```
composer require deigon/firebase
```

Send Cloud Message
------------------

[](#send-cloud-message)

```
require __DIR__ . '/vendor/autoload.php';
use Deigon\SDK\Firebase;

$fcm ='zNJqWVtVhWqaDwJc0uWofYYt5brlx5M86-AQnQ7KJWBqb7wQLk1iYmpA8ZirylKDL';

$device_token = 'Y4b2dXWWA-OJqke9wLQNmHrPAQnQ7KJWBqb7wQLk1iYmpA8ZirylKDL_PBOJKmajpHZrVsUdsSrgoCcJOs971x6F7v6gAlJ3yiGJ9tU7FD5dnsep_oBVzLu';
$title = 'Hello';
$message = 'Example message Lorem';

$firebase = new Firebase($fcm);
$firebase->sendCloudMessage($device_token, $title, $message);
```

Send Various Cloud Messages
---------------------------

[](#send-various-cloud-messages)

```
require __DIR__ . '/vendor/autoload.php';
use Deigon\SDK\Firebase;

$fcm ='zNJqWVtVhWqaDwJc0uWofYYt5brlx5M86-AQnQ7KJWBqb7wQLk1iYmpA8ZirylKDL';

$devices_token = [
'Y4b2dXWWA-OJqke9wLQNmHrPAQnQ7KJWBqb7wQLk1iYmpA8ZirylKDL_PBOJKmajpHZrVsUdsSrgoCcJOs971x6F7v6gAlJ3yiGJ9tU7FD5dnsep_oBVzLu',
'OJqke9wLQNmHrPAQY4b2dXWWA-nQ7KJWBqb7wQLk1iYmpA8ZirylKDL_PBOJKmajpF7v6gAlJ3yiGJ9tU7FD5dnsep_oBVzLHZrVsUdsSrgoCcJOs971x6u',
'rPAQnQ7KJWBqb7wQLLQNmHrPAQY4b2dXWWA-nQ7KJWBqb7wQLpA8ZirylKDL_PBOJKmajpF7v6gAlJ3yiGJ9tU7FD5dnsep_oBVzLHZrVsUdsSrgoCcJOs9',
];
$title = 'Hello';
$message = 'Example message Lorem';

$firebase = new Firebase($fcm);
$firebase->sendMultipleCloudMessage($devices_token, $title, $message);
```

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within, please send an e-mail to Deigon Prates via . All security vulnerabilities will be promptly addressed.

License
-------

[](#license)

Is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

1720d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/85f2e5fadbc96c293da203f9ebc0b7c7ad66d16f12452362ce6bf76664e0c662?d=identicon)[deigonPrates](/maintainers/deigonPrates)

---

Top Contributors

[![deigonPrates](https://avatars.githubusercontent.com/u/20133803?v=4)](https://github.com/deigonPrates "deigonPrates (11 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k14](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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