PHPackages                             m2mobi/apns-php - 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. m2mobi/apns-php

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

m2mobi/apns-php
===============

Apple Push Notification &amp; Feedback Provider

4.0.0(11mo ago)1118.3k↓90.8%91BSD-3-ClausePHPPHP &gt;=8.1CI passing

Since Feb 4Pushed 1w ago3 watchersCompare

[ Source](https://github.com/framna-nl-backend/ApnsPHP)[ Packagist](https://packagist.org/packages/m2mobi/apns-php)[ Docs](https://github.com/M2mobi/ApnsPHP)[ RSS](/packages/m2mobi-apns-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (6)Versions (17)Used By (1)

[![](doc/logo.png)](doc/logo.png) ApnsPHP: Apple Push Notification System Library
=================================================================================

[](#-apnsphp-apple-push-notification-system-library)

 [![](https://camo.githubusercontent.com/412a6a59f3275d81ed05c6b767757c315a1be3c2e2530f195107bb3743b659d5/68747470733a2f2f706f7365722e707567782e6f72672f6d326d6f62692f61706e732d7068702f646f776e6c6f616473)](https://camo.githubusercontent.com/412a6a59f3275d81ed05c6b767757c315a1be3c2e2530f195107bb3743b659d5/68747470733a2f2f706f7365722e707567782e6f72672f6d326d6f62692f61706e732d7068702f646f776e6c6f616473) [![](https://camo.githubusercontent.com/c7f7e70e1ab471583ecce68a6cee742d94c2f79c2af57d3fe02c0233da874bc0/68747470733a2f2f706f7365722e707567782e6f72672f6d326d6f62692f61706e732d7068702f642f6d6f6e74686c79)](https://camo.githubusercontent.com/c7f7e70e1ab471583ecce68a6cee742d94c2f79c2af57d3fe02c0233da874bc0/68747470733a2f2f706f7365722e707567782e6f72672f6d326d6f62692f61706e732d7068702f642f6d6f6e74686c79) [![](https://camo.githubusercontent.com/c00a9f0cc5650eae9096a57fe40ad2666e99c9b67ff64ac39c2f2619234380fb/68747470733a2f2f706f7365722e707567782e6f72672f6d326d6f62692f61706e732d7068702f642f6461696c79)](https://camo.githubusercontent.com/c00a9f0cc5650eae9096a57fe40ad2666e99c9b67ff64ac39c2f2619234380fb/68747470733a2f2f706f7365722e707567782e6f72672f6d326d6f62692f61706e732d7068702f642f6461696c79) [![](https://camo.githubusercontent.com/23a212d302be7818cd4dcdd392efc59d39dfc66840f88d1632530e40da125e69/68747470733a2f2f706f7365722e707567782e6f72672f6d326d6f62692f61706e732d7068702f6c6963656e7365)](https://camo.githubusercontent.com/23a212d302be7818cd4dcdd392efc59d39dfc66840f88d1632530e40da125e69/68747470733a2f2f706f7365722e707567782e6f72672f6d326d6f62692f61706e732d7068702f6c6963656e7365)

A **full set** of *open source* PHP classes to interact with the **Apple Push Notification service** for the iPhone, iPad and the iPod Touch.

- [Sample PHP Push code](sample_push.php)
- [How to generate a Push Notification certificate and download the Entrust Root Authority certificate](doc/CertificateCreation.md)

Packagist
---------

[](#packagist)

Architecture
------------

[](#architecture)

- **Message class**, to build a notification payload.
- **Push class**, to push one or more messages to Apple Push Notification service.

Details
-------

[](#details)

All client-server activities are based on the "on error, retry" pattern with customizable timeouts, retry times and retry intervals.

Requirements
------------

[](#requirements)

PHP 7.4.0 or later with OpenSSL and curl (at least version 7.33.0)

```
./configure --with-openssl[=PATH] --with-curl[=PATH]

```

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance77

Regular maintenance activity

Popularity33

Limited adoption so far

Community27

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~105 days

Total

11

Last Release

351d ago

Major Versions

1.0.1.x-dev → 2.0.0beta12021-02-05

2.0.0 → 3.0.0beta12023-04-23

3.0.3 → 4.0.0rc12024-12-06

PHP version history (4 changes)1.0.1.x-devPHP &gt;=5.3.0

2.0.0beta1PHP &gt;=7.2.0

3.0.0beta1PHP &gt;=7.4

4.0.0rc1PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d947cb57fe64548b6f9eda414f1add9b39e62200c6f509af20db0119bb8b245?d=identicon)[pprkut](/maintainers/pprkut)

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

---

Top Contributors

[![duccio](https://avatars.githubusercontent.com/u/335206?v=4)](https://github.com/duccio "duccio (95 commits)")[![pprkut](https://avatars.githubusercontent.com/u/56635?v=4)](https://github.com/pprkut "pprkut (71 commits)")[![SMillerDev](https://avatars.githubusercontent.com/u/1484494?v=4)](https://github.com/SMillerDev "SMillerDev (26 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![Martijnsvb](https://avatars.githubusercontent.com/u/38097336?v=4)](https://github.com/Martijnsvb "Martijnsvb (10 commits)")[![BafS](https://avatars.githubusercontent.com/u/588205?v=4)](https://github.com/BafS "BafS (6 commits)")[![marcorocca](https://avatars.githubusercontent.com/u/50023343?v=4)](https://github.com/marcorocca "marcorocca (3 commits)")[![marcella-galambos-framna](https://avatars.githubusercontent.com/u/180182720?v=4)](https://github.com/marcella-galambos-framna "marcella-galambos-framna (3 commits)")[![spacedevin](https://avatars.githubusercontent.com/u/27974?v=4)](https://github.com/spacedevin "spacedevin (2 commits)")[![tardypad](https://avatars.githubusercontent.com/u/6368493?v=4)](https://github.com/tardypad "tardypad (2 commits)")[![aporat](https://avatars.githubusercontent.com/u/415576?v=4)](https://github.com/aporat "aporat (2 commits)")[![wadxm](https://avatars.githubusercontent.com/u/9190997?v=4)](https://github.com/wadxm "wadxm (1 commits)")[![benpackard](https://avatars.githubusercontent.com/u/2280914?v=4)](https://github.com/benpackard "benpackard (1 commits)")[![danielemaiorana](https://avatars.githubusercontent.com/u/22028928?v=4)](https://github.com/danielemaiorana "danielemaiorana (1 commits)")[![edwardmp](https://avatars.githubusercontent.com/u/1686739?v=4)](https://github.com/edwardmp "edwardmp (1 commits)")[![hamidrezabstn](https://avatars.githubusercontent.com/u/5023099?v=4)](https://github.com/hamidrezabstn "hamidrezabstn (1 commits)")[![integer](https://avatars.githubusercontent.com/u/160891?v=4)](https://github.com/integer "integer (1 commits)")[![jbender](https://avatars.githubusercontent.com/u/723784?v=4)](https://github.com/jbender "jbender (1 commits)")[![JellyBellyDev](https://avatars.githubusercontent.com/u/190820?v=4)](https://github.com/JellyBellyDev "JellyBellyDev (1 commits)")[![jetwitaussi](https://avatars.githubusercontent.com/u/1422884?v=4)](https://github.com/jetwitaussi "jetwitaussi (1 commits)")

---

Tags

one-flowosspushnotificationappleapns

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/m2mobi-apns-php/health.svg)

```
[![Health](https://phpackages.com/badges/m2mobi-apns-php/health.svg)](https://phpackages.com/packages/m2mobi-apns-php)
```

###  Alternatives

[duccio/apns-php

Apple Push Notification &amp; Feedback Provider

1.4k2.6M13](/packages/duccio-apns-php)[sly/notification-pusher

Standalone PHP library for easy devices notifications push.

1.2k2.8M16](/packages/sly-notification-pusher)[edamov/pushok

PHP client for Apple Push Notification Service (APNs) - Send push notifications to iOS using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key) or certificate-based authentication

4103.6M19](/packages/edamov-pushok)

PHPackages © 2026

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