weepay/weepay-php

weepay API PHP 客户端

1.0.4 2021-12-07 12:31 UTC

This package is auto-updated.

Last update: 2024-09-07 18:37:40 UTC


README

Latest Stable Version

weepay提供PHP集成

需求

PHP 5.3 及更高版本。

安装

Composer

您可以通过Composer安装绑定。运行以下命令

composer require weepay/weepay-php

要使用绑定,请使用Composer的自动加载

require_once('vendor/autoload.php');

手动安装

require_once('weepayBootstrap.php');

用法

weepayBootstrap::initialize();
$options = new \weepay\Auth();
$options->setBayiID("xxx");
$options->setApiKey("xxx");
$options->setSecretKey("xxx-xx-xx");
$options->setBaseUrl("https://api.weepay.co/");

如果您有任何问题,请随时通过Github上的问题或通过destek@weepay.co联系我们。