bestony / mbdpay
This package is abandoned and no longer maintained.
No replacement package was suggested.
SDK for mbd.pub
1.0.0
2022-02-08 07:26 UTC
Requires (Dev)
- phpstan/phpstan: ^1.4
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2022-12-05 13:36:21 UTC
README
由于面包多业务调整,此 SDK 已经失效,仅用作参考
安装
使用 Composer 安装
composer require bestony/mbdpay
引入文件安装
使用命令下载文件
wget https://raw.githubusercontent.com/bestony/mbdpay/master/src/Client.php
并在代码中使用 require_once "Client.php"
引入对应的代码
使用方式
基本用法可以参考下方代码
$client = new \Bestony\Mbdpay\Client(APPID, APPKEY); $result = $client->wxH5pay([ "description" => "testDescription", "out_trade_no" => "1234ajs", "amount_total" => 1 ]);
测试
-
设定
APPID
&APPKEY
环境变量 -
执行测试
composer test
更新日志
请查看 CHANGELOG 了解更新信息。
参与贡献
请查看 CONTRIBUTING 了解更多关于参与贡献的详情。
安全风险
如果你发现任何与安全相关问题,可以访问 安全策略 了解如何反馈安全问题。
贡献者
授权
The MIT License (MIT). 请查看 License File 了解更多信息。