PHPackages                             absystem/gfcm - 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. absystem/gfcm

ActiveLibrary

absystem/gfcm
=============

PHP Google Cloud Messaging (GCM) Library

v1.0(5y ago)09MITPHP

Since Nov 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/why-absystem/gfcm)[ Packagist](https://packagist.org/packages/absystem/gfcm)[ RSS](/packages/absystem-gfcm/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

GFCM
====

[](#gfcm)

Google Firebase Cloud Messaging with PHP

#### INSTALLATION 🔥

[](#installation-fire)

`composer require absystem/gfcm`

#### REQUIREMENTS ⚠️

[](#requirements-warning)

▪️ PHP &gt;=5.6.
▪️ [Composer](https://getcomposer.org/).
▪️ [Guzzle v6.x](https://github.com/guzzle/guzzle) sudah include di package.

#### SETTING CONFIG 🌐

[](#setting-config-globe_with_meridians)

```
$config = [
	'server_key' => '', // kunci server dari google console
	'base_url'   => 'https://fcm.googleapis.com/fcm/send'
];

//array token device
$tokendevice = [];
```

#### CONTOH PENGGUNAAN 💻

[](#contoh-penggunaan-computer)

```
require_once __DIR__ . '/vendor/autoload.php';
use ABSystem\Google\FCM;

$fcm = new FCM($config);
$fcm->setTokenDevice($tokendevice);
$fcm->setDataPayload([
	'koordinat' => [
		'lat' => '',
		'lng' => '',
	],
	'link'	=> [
		'page'=> '/map.html'
	],
]);
$fcm->setPesan('Judul Notifikasi', 'Isi pesan yang tampil.');
$fcm->kirim();
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2016d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18368042?v=4)[Wahyu Hidayat](/maintainers/why-absystem)[@why-absystem](https://github.com/why-absystem)

---

Top Contributors

[![why-solo](https://avatars.githubusercontent.com/u/200134050?v=4)](https://github.com/why-solo "why-solo (21 commits)")

### Embed Badge

![Health badge](/badges/absystem-gfcm/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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