PHPackages                             tigzzr/apns-push - 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. tigzzr/apns-push

ActiveLibrary

tigzzr/apns-push
================

Apns Push By PHP

v1.0(3y ago)07MITPHPPHP &gt;7.1

Since Nov 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/boloc/ApnsPush)[ Packagist](https://packagist.org/packages/tigzzr/apns-push)[ RSS](/packages/tigzzr-apns-push/feed)WikiDiscussions main Synced 1mo ago

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

iOS APNS推送服务PHP端口
=================

[](#ios-apns推送服务php端口)

简单实现接口文档功能版本 [文档地址](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns)

目前仅采用`GuzzleHttp\Client`实现

调用方法

```
$deviceToken = '设备deviceToken'; //设备token,ios端生成，如果选择voip模式必须为voip的deviceToken
$apnsTopic = '{开发者自己的bundleId}.voip'; // voip模式要求最后带上.voip
$certificateFile = __DIR__ . '/cert/voip.pem'; // 证书路径
$pemPassword = '123456'; // 证书密码
$client = new ApnsServer($apnsTopic, $certificateFile, $pemPassword);
$response = $client
    ->setPushType('voip') // 推送类型
    ->addTitle('这是标题')
    ->addBody('这是文本')
    ->push($deviceToken, ApnsServer::ENVIRONMENT_SANDBOX);
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

1261d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a6ff8fc998062aac9b7634482b739c59af0e64dfb1b48a4bc0508d0205bbfda?d=identicon)[hugo\_barry](/maintainers/hugo_barry)

---

Top Contributors

[![boloc](https://avatars.githubusercontent.com/u/65055396?v=4)](https://github.com/boloc "boloc (6 commits)")

---

Tags

apnsapns-http2php

### Embed Badge

![Health badge](/badges/tigzzr-apns-push/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/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

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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