PHPackages                             myqaa/apns-http2 - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. myqaa/apns-http2

ActiveLibrary[HTTP &amp; Networking](/categories/http)

myqaa/apns-http2
================

Library for sending APNS over HTTP/2.

01.6k1PHP

Since Aug 10Pushed 3y agoCompare

[ Source](https://github.com/myQaa/apns-http2)[ Packagist](https://packagist.org/packages/myqaa/apns-http2)[ RSS](/packages/myqaa-apns-http2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

APNS
====

[](#apns)

[![Build Status](https://camo.githubusercontent.com/d914b50c5b9fbdef3cd9e3479018d8f4e15777d4ccbf0d3df37b75a5ff39f9b0/68747470733a2f2f7472617669732d63692e636f6d2f6765706f2f61706e732d68747470322e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/gepo/apns-http2)[![Dependency Status](https://camo.githubusercontent.com/68c1b278eb8fc57dcff3c32a02990ae996523c3cf0bfcd282427ef6411ec7f4e/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3537383931393236633364343066303033636161333037312f62616467652e737667)](https://www.versioneye.com/user/projects/57891926c3d40f003caa3071)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5074b381e369a33b737a0084e0630fbe361c141142ce9f87358a8472e793e7b7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6765706f2f61706e732d68747470322f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gepo/apns-http2/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/77e6f3f0e771b30bdc357f342aec545d85002d11ac7a32488cff482f26d2a4a8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6765706f2f61706e732d68747470322f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gepo/apns-http2/?branch=master)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/gepo/apns-http2/blob/master/LICENSE)

PHP library for sending notifications via Apple Push Notification service (APNS) over HTTP/2.

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

[](#installation)

```
composer require gepo/apns-http2

```

Requirements
============

[](#requirements)

AAA Certificate
---------------

[](#aaa-certificate)

Since 29 March 2021, the AAA certificate is required. You can read about it and get it here: .

On Ubuntu, you must put it in `/usr/local/share/ca-certificates/extra/` (create the path if it doesn't exist), and run `update-ca-certificates` as `root`).

cURL HTTP/2 support
-------------------

[](#curl-http2-support)

You need cURL with HTTP/2 support installed on your system for this library to work. cURL supports HTTP/2 starting version 7.43.0.

### Check if your installation supports it

[](#check-if-your-installation-supports-it)

Here's a simple script to check if your installation supports cURL with HTTP/2:

```
