PHPackages                             ardabeyazoglu/php-push-helper - 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. ardabeyazoglu/php-push-helper

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

ardabeyazoglu/php-push-helper
=============================

A simple helper library to send push notifications in php using services like fcm, apns etc.

v0.1.0(8y ago)2252MITPHPPHP &gt;=5.3.0

Since Jul 9Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ardabeyazoglu/php-push-helper)[ Packagist](https://packagist.org/packages/ardabeyazoglu/php-push-helper)[ Docs](https://github.com/ardabeyazoglu/php-push-helper)[ RSS](/packages/ardabeyazoglu-php-push-helper/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/7bab808966b84e22fa3112e7c358d5fa3041094056f16c6d2bf3cd4aa53b4ff2/68747470733a2f2f706f7365722e707567782e6f72672f61726461626579617a6f676c752f7068702d707573682d68656c7065722f762f737461626c65)](https://packagist.org/packages/ardabeyazoglu/php-push-helper) [![License](https://camo.githubusercontent.com/6aaa152b8c963307f4b4c68d0417ed7f4a58aceae13b1b600c1dc9940b6a952f/68747470733a2f2f706f7365722e707567782e6f72672f61726461626579617a6f676c752f7068702d707573682d68656c7065722f6c6963656e7365)](https://packagist.org/packages/ardabeyazoglu/php-push-helper)

About
=====

[](#about)

A php helper class to send push notifications to different services. Currently, it only supports `APNS` and Google's `FCM`.

Features
========

[](#features)

- By using `APNS`, you can emit messages to iOS
- By using `FCM`, You can emit messages to iOS, Android, Browsers (Service Workers) or any client listening `Firebase Messaging Service`
    - Creates `data payloads` based on the rules specified in [phonegap-push-plugin](https://github.com/phonegap/phonegap-plugin-push).

Installation
============

[](#installation)

```
composer install ardabeyazoglu/php-push-helper

```

Usage
=====

[](#usage)

```
    $fcmApiKey = "YOUR_FCM_API_KEY";

    $push = new \Push\Client();
    $push->setFcm($fcmApiKey);

    // send using fcm
    $regToken = "YOUR_DEVICE_TOKEN";
    $result = $push->emit($regToken, array(
         "title" => "Test push title",
         "body" => "That's it!",
         "custom" => "my custom data"
     ));
```

Please see the [docs](https://github.com/ardabeyazoglu/php-push-helper/tree/master/docs) and [examples](https://github.com/ardabeyazoglu/php-push-helper/tree/master/examples)

ToDo
====

[](#todo)

- More services to integrate (Window Phone 8, UWP, Web Push etc.)
- Writing a helper class to produce json payloads

###  Health Score

25

↑

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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

3231d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f5c6c17d31b1cf3eb1a741ebfbcf2ff4103b9bacc89f3397c14c64cf2af65b81?d=identicon)[ardabeyazoglu](/maintainers/ardabeyazoglu)

---

Top Contributors

[![ardabeyazoglu](https://avatars.githubusercontent.com/u/1159836?v=4)](https://github.com/ardabeyazoglu "ardabeyazoglu (6 commits)")[![danielzzz](https://avatars.githubusercontent.com/u/351916?v=4)](https://github.com/danielzzz "danielzzz (3 commits)")[![ardakiva](https://avatars.githubusercontent.com/u/230761063?v=4)](https://github.com/ardakiva "ardakiva (1 commits)")

---

Tags

pushnotificationgcmFCMapnsapsfirebase-messaging

### Embed Badge

![Health badge](/badges/ardabeyazoglu-php-push-helper/health.svg)

```
[![Health](https://phpackages.com/badges/ardabeyazoglu-php-push-helper/health.svg)](https://phpackages.com/packages/ardabeyazoglu-php-push-helper)
```

###  Alternatives

[sly/notification-pusher

Standalone PHP library for easy devices notifications push.

1.2k2.8M15](/packages/sly-notification-pusher)[edujugon/push-notification

Laravel Package to send push notifications to Android and IOS devices. (GCM,FCM,APN)

4891.4M1](/packages/edujugon-push-notification)[mcfedr/awspushbundle

A set of services to simplify using Aws to send push notifications

40378.6k1](/packages/mcfedr-awspushbundle)[turbo124/laravel-push-notification

Laravel package to send push notifications to mobile devices (apns, gcm)

1157.9k](/packages/turbo124-laravel-push-notification)[witty/laravel-push-notification

Laravel 5 Package for sending push notifications to Android and iOS devices

245.0k](/packages/witty-laravel-push-notification)

PHPackages © 2026

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