PHPackages                             sn01615/google-iap-php - 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. sn01615/google-iap-php

ActiveLibrary

sn01615/google-iap-php
======================

Google iap verify

v1.0(6y ago)2781MITPHP

Since Jun 3Pushed 6y ago1 watchersCompare

[ Source](https://github.com/sn01615/google-iap-php)[ Packagist](https://packagist.org/packages/sn01615/google-iap-php)[ RSS](/packages/sn01615-google-iap-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

google-iap-php
==============

[](#google-iap-php)

Google支付验证

install
-------

[](#install)

```
composer require sn01615/google-iap-php
```

use
---

[](#use)

```
use sn01615\iap\google\Verify;

include "../vendor/autoload.php";

$cc = new Verify();

# 通过setPublicKey设置public key，然后输入data和sign，返回验证结果
$vv = $cc->setPublicKey('key')->verify('data', 'signature');

# Returns 1 if the signature is correct, 0 if it is incorrect, and -1 on error.
# 如果$vv 等于1代表成功 0 代表失败 -1 表示错误
var_dump($vv);
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2533d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fd6cb8950d77fdebcef7c1cd1eac849e5610deddf19aa539f76b371ccaee152?d=identicon)[sn01615](/maintainers/sn01615)

---

Top Contributors

[![sn01615](https://avatars.githubusercontent.com/u/7794149?v=4)](https://github.com/sn01615 "sn01615 (3 commits)")

### Embed Badge

![Health badge](/badges/sn01615-google-iap-php/health.svg)

```
[![Health](https://phpackages.com/badges/sn01615-google-iap-php/health.svg)](https://phpackages.com/packages/sn01615-google-iap-php)
```

PHPackages © 2026

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