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. [API Development](/categories/api)
4. /
5. srleach/inapp-verify

AbandonedArchivedLibrary[API Development](/categories/api)

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 yesterday

READMEChangelogDependencies (1)Versions (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 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

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

3822d ago

Major Versions

0.4.1 → 1.0.12016-01-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13541397?v=4)[Sean Leach](/maintainers/srleach)[@srleach](https://github.com/srleach)

---

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-receiptsappleiosreceiptapp\_store

### 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)
```

###  Alternatives

[chapter-three/apple-news-api

Push content to Apple News.

39312.6k3](/packages/chapter-three-apple-news-api)[cantie/app-store-connect-api

A PHP client library for accessing App Store Connect APIs

2937.8k](/packages/cantie-app-store-connect-api)[nullform/app-store-server-api-client

PHP client for App Store Server API and App Store Server Notifications

121.4k](/packages/nullform-app-store-server-api-client)[dariusiii/php-itunes-api

Query iTunes API System

1117.0k](/packages/dariusiii-php-itunes-api)[leapfu/cloud-printer

高扩展性云小票打印SDK，支持飞鹅云、芯烨云、易联云、快递100、映美云、佳博云、中午云、优声云等主流云打印服务，兼容 Laravel、ThinkPHP 等主流框架，统一API，易集成，易扩展。

105.2k](/packages/leapfu-cloud-printer)[coder966/fcm-simple

PHP library for Firebase Cloud Messaging

141.2k](/packages/coder966-fcm-simple)

PHPackages © 2026

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