PHPackages                             dimajolkin/symfony-firebase-notifier - 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. dimajolkin/symfony-firebase-notifier

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

dimajolkin/symfony-firebase-notifier
====================================

v0.0.2(10mo ago)08PHPPHP &gt;=8.0

Since Jun 23Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/dimajolkin/symfony-firebase-notifier)[ Packagist](https://packagist.org/packages/dimajolkin/symfony-firebase-notifier)[ RSS](/packages/dimajolkin-symfony-firebase-notifier/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Firebase Notifier
=================

[](#firebase-notifier)

### Install

[](#install)

```
   composer required dimajolkin/symfony-firebase-notifier
```

### Docs

[](#docs)

Provides Firebase integration for Symfony Notifier.

Adapted for using http

Base copy from :

```
include __DIR__ .'/../vendor/autoload.php';

use Dimajolkin\SymfonyFirebaseNotifier\Credential;
use Dimajolkin\SymfonyFirebaseNotifier\FirebaseTransport;
use Dimajolkin\SymfonyFirebaseNotifier\MessageType\TargetMessageOptions;
use Dimajolkin\SymfonyFirebaseNotifier\Notification\AndroidNotification;
use Dimajolkin\SymfonyFirebaseNotifier\Notification\CommonNotification;
use Symfony\Component\Notifier\Chatter;
use Symfony\Component\Notifier\Exception\TransportException;
use Symfony\Component\Notifier\Message\ChatMessage;

$file = file_get_contents('......json');

$token = Credential::fromServiceAccountContent($file)->getToken();

$chatter = new Chatter(new FirebaseTransport($token));

$chatMessage = new ChatMessage('super text');

$options = new TargetMessageOptions(
    token: '....',
    common: new CommonNotification(
      title: 'incident title',
      body: 'test message',
    ),
    android: new AndroidNotification(
        clickAction: 'open_incident_view',
    ),
    data: [
        'id' => '54841',
        'type' => 'incident',
        'title' => 'incident title',
        'message' => 'incident message',
    ],
);

// Add the custom options to the chat message and send the message
$chatMessage->options($options);
try {
    $chatter->send($chatMessage);
} catch (TransportException $exception) {
    echo $exception->getMessage();
}

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance54

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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

Every ~426 days

Total

2

Last Release

314d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/791ec7bfcc4ae47ccacfb92b8e281c6b8a03f158bde061de5084442191cf2b02?d=identicon)[dimajolkin](/maintainers/dimajolkin)

---

Top Contributors

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

---

Tags

firebasesymfony

### Embed Badge

![Health badge](/badges/dimajolkin-symfony-firebase-notifier/health.svg)

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

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M576](/packages/shopware-core)[symfony/twilio-notifier

Symfony Twilio Notifier Bridge

131.3M2](/packages/symfony-twilio-notifier)[symfony/microsoft-teams-notifier

Symfony Microsoft Teams Notifier Bridge

12987.2k](/packages/symfony-microsoft-teams-notifier)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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