PHPackages                             srleach/inapp-verify - 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. srleach/inapp-verify

AbandonedArchivedLibrary

srleach/inapp-verify
====================

Library to verify Apple App Store receipt data with Apple.

1.0.1(10y ago)04.2kApache-2.0PHP

Since Nov 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/srleach/inapp-verify)[ Packagist](https://packagist.org/packages/srleach/inapp-verify)[ Docs](https://github.com/srleach/inapp-verify)[ RSS](/packages/srleach-inapp-verify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

inapp-verify
============

[](#inapp-verify)

Verifies iOS App store receipts with Apple for authenticity

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

[](#installation)

Install, as with most dependencies with Composer.

```
composer require srleach/inapp-verify
```

Configuration
-------------

[](#configuration)

You'll need to set a couple of environment variables for this to work correctly.

Environment VariableDescriptionAPPLE\_IAP\_SHARED\_SECRETThe shared secret used in the iOS AppAPPLE\_IAP\_VERIFY\_URLThe URL used to poll the app store for resultsAn example for an application using the popular Dotenv library:

```
APPLE_IAP_VERIFY_URL=https://sandbox.itunes.apple.com/verifyReceipt
APPLE_IAP_SHARED_SECRET=kmdfkmsKADMF999KM

```

Usage
-----

[](#usage)

You can poll the service by passing the receipt data as gleaned from the response from Apple by into `getReceipt()`.

```
return IAP::getReceipt($receiptData);
```

Optionally, you may choose to override the environment set shared secret:

```
return IAP::getReceipt($receiptData, $sharedSecret);
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

Every ~49 days

Total

2

Last Release

3770d ago

Major Versions

0.4.1 → 1.0.12016-01-11

### Community

---

Top Contributors

[![srleach](https://avatars.githubusercontent.com/u/13541397?v=4)](https://github.com/srleach "srleach (16 commits)")

---

Tags

appleapple-receiptiapiap-verificationin-app-purchaseinapppurchaseios-phpreceiptstore-receipts

### Embed Badge

![Health badge](/badges/srleach-inapp-verify/health.svg)

```
[![Health](https://phpackages.com/badges/srleach-inapp-verify/health.svg)](https://phpackages.com/packages/srleach-inapp-verify)
```

PHPackages © 2026

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