ctexthuang/apple_sdk

苹果内购 sdk for php

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/ctexthuang/apple_sdk

v1.0.0 2026-01-30 06:54 UTC

This package is auto-updated.

Last update: 2026-01-30 06:58:21 UTC


README

主要新特性

  • 简化使用方法
  • 调用简单,统一原样返回
  • 可执行单元测试

更新日志

  • 1.0.0 增加验证苹果内购凭据,支持沙盒模式

安装

运行环境要求PHP7.1+。

$ composer require ctexthuang/apple_sdk

使用

$app = new Verify();
//开启沙盒模式 true=沙盒 false=生产正式
$app->setSandBox(true);
$res = $app->doVerify('苹果凭据');

文档

苹果开发者官网 苹果开发者文档 通过 App Store 验证收据 verifyReceipt requestBody

问题

Contributing

The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT