PHPackages                             davibr/apn-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. davibr/apn-push

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

davibr/apn-push
===============

Fork of apn-push

v3.0.0(9y ago)01.2k↓66.7%MITPHPPHP ^7.0

Since Nov 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/davibr/AppleApnPush)[ Packagist](https://packagist.org/packages/davibr/apn-push)[ Docs](https://github.com/ZhukV/AppleApnPush)[ RSS](/packages/davibr-apn-push/feed)WikiDiscussions master Synced 1mo ago

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

Apple Apn Push
==============

[](#apple-apn-push)

[![SensioLabsInsight](https://camo.githubusercontent.com/adaf7a219d3076b541c7340b2eec833b087ef333736a015c5d0a867529174741/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f35336632323339662d633463632d343634332d383563392d6139663739383530653836332f6d696e692e706e67)](https://insight.sensiolabs.com/projects/53f2239f-c4cc-4643-85c9-a9f79850e863)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/fb9d7546a0f7390effd71d663e48c1b6fdcf3d58423f534089bf3f7ad3123a4c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5a68756b562f4170706c6541706e507573682f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ZhukV/AppleApnPush/?branch=master)[![Build Status](https://camo.githubusercontent.com/176e1d999524bd1264c952a94e2173a57f55ee4386d44f8fa6ddd0bf673e1437/68747470733a2f2f7472617669732d63692e6f72672f5a68756b562f4170706c6541706e507573682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ZhukV/AppleApnPush)

Send push notifications to apple devices (iPhone, iPad, iPod).

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

[](#requirements)

Now library work only with HTTP/2 protocol, and next libraries is necessary:

- [cURL](http://php.net/manual/ru/book.curl.php)
- The protocol [HTTP/2](https://en.wikipedia.org/wiki/HTTP/2) must be supported in cURL.

Installation
------------

[](#installation)

Add AppleApnPush in your composer.json:

```
{
    "require": {
        "apple/apn-push": "~3.0.0"
    }
}
```

Now tell composer to download the library by running the command:

```
$ php composer.phar update apple/apn-push
```

Easy usage
----------

[](#easy-usage)

You can use builder for create sender for next send push notifications to device:

```
