PHPackages                             audi2014/push-adapter - 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. audi2014/push-adapter

AbandonedArchivedLibrary

audi2014/push-adapter
=====================

send push notifications to fcm and apns in same interface

v1.6(7y ago)0256MITPHPPHP ^7.0

Since Sep 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/audi2014/apnsphp-adapter)[ Packagist](https://packagist.org/packages/audi2014/push-adapter)[ RSS](/packages/audi2014-push-adapter/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

```
use Audi2014\PushAdapter\Apns;
use Audi2014\PushAdapter\Fcm;
(new Apns([
    Apns::CONF_APP_CER => 'sandbox.cer',
    Apns::CONF_SANDBOX => true,
]))->sendByTokenArray([
    '***TOKEN***',
    '***TOKEN***',
    '***TOKEN***',
],"adapterSandbox","adapterSandbox");
(new Apns([
    Apns::CONF_APP_CER => 'prod.cer',
    Apns::CONF_SANDBOX => false,
]))->sendByTokenArray([
    '***TOKEN***',
    '***TOKEN***',
    '***TOKEN***',
],"adapterProduction","adapterProduction");
(new Fcm([
    Fcm::CONF_APP_KEY => '**',
]))->sendByTokenArray([
    '***TOKEN***',
    '***TOKEN***',
    '***TOKEN***',
],"adapterFcm","adapterFcm");
```

\#how to generate apns pem?

\###DEV

`openssl pkcs12 -in server_certificates_bundle_sandbox.p12 -out server_certificates_bundle_sandbox.pem -nodes -clcerts`

\###PROD

`openssl pkcs12 -in server_certificates_bundle_production.p12 -out server_certificates_bundle_production.pem -nodes`

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~0 days

Total

7

Last Release

2805d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1eb8e22f024bcd7ce6a7702bf1e4c182f213326288aa25c01c04233654412f70?d=identicon)[audi2014](/maintainers/audi2014)

---

Top Contributors

[![audi2014](https://avatars.githubusercontent.com/u/17003291?v=4)](https://github.com/audi2014 "audi2014 (13 commits)")

### Embed Badge

![Health badge](/badges/audi2014-push-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/audi2014-push-adapter/health.svg)](https://phpackages.com/packages/audi2014-push-adapter)
```

###  Alternatives

[bryglen/yii2-apns-gcm

Yii 2 Apns and Gcm together

54277.8k1](/packages/bryglen-yii2-apns-gcm)[albaraam/php-gcm-apns

A PHP Library for sending messages to devices (Android &amp; IOS) through GCM and Apns (respectively).

133.6k1](/packages/albaraam-php-gcm-apns)

PHPackages © 2026

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