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 1w 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 14% 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

1675d 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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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