PHPackages                             mehmetbeyhz/apple\_iap - 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. mehmetbeyhz/apple\_iap

ActiveLibrary

mehmetbeyhz/apple\_iap
======================

Apple in app purchases

03PHP

Since Jan 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mehmetbeyHZ/apple_iap)[ Packagist](https://packagist.org/packages/mehmetbeyhz/apple_iap)[ RSS](/packages/mehmetbeyhz-apple-iap/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

App store IAP
-------------

[](#app-store-iap)

Verify Apple App store purchases and handle apple server notifications v2.

Get notification details.

```
$data = '{"signedPayload":"..."}'
$iap = new \AppleIAP\AppleIAP();
$notificationDetails = $iap->getNotificationDetails($data);
$data = $notificationDetails->getData();
$transactionInfo = $data->getSignedTransactionInfo();
$renewalInfo = $data->getSignedRenewalInfo();

$transactionInfo->getAppAccountToken();
$transactionInfo->getOriginalTransactionId();
$transactionInfo->getExpiresDate();
$transactionInfo->getPurchaseDate();
...
```

verify purchases

```
$receiptData = '...';
$password = '...';

$iap = new \AppleIAP\AppleIAP();
$verify = $iap->enableSandboxMode()
    ->verifyPurchase($password,$receiptData,true);
if($verify->getStatus() == 0){
    // verified.
    foreach ($verify->getLatestReceiptInfo() as $receipt){
        $receipt->getPurchaseDate();
        $receipt->getAppAccountToken();
        $receipt->getTransactionId();
        ...
    }
}
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/821b7190c25fce94a8094ea36b917c554bd8dd433657d3419411e4090f8d78d8?d=identicon)[mehmetbeyhz](/maintainers/mehmetbeyhz)

---

Top Contributors

[![mt-ks](https://avatars.githubusercontent.com/u/12996462?v=4)](https://github.com/mt-ks "mt-ks (1 commits)")

### Embed Badge

![Health badge](/badges/mehmetbeyhz-apple-iap/health.svg)

```
[![Health](https://phpackages.com/badges/mehmetbeyhz-apple-iap/health.svg)](https://phpackages.com/packages/mehmetbeyhz-apple-iap)
```

PHPackages © 2026

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