miuhr/alipay-sdk

支付宝SDK

3.0.1 2018-06-08 07:04 UTC

This package is auto-updated.

Last update: 2024-11-09 21:32:33 UTC


README

Latest Stable Version Total Downloads License

所有SDK源文件取自 支付宝官网,原版未改动。

最后更新版本参见保留目录名

使用

composer require miuhr/alipay-sdk

所有类都被映射到了顶层命名空间

$c = new \AopClient();
$c->gatewayUrl = "https://openapi.alipay.com/gateway.do";

$request= new \AlipaySystemOauthTokenRequest();
$request->setCode($auth_code);