paydirectly / paydirectly-php
PHP版的paydirectly SDK
v1.1
2021-09-07 05:43 UTC
Requires
- php: >=5.6
Requires (Dev)
- phpunit/phpunit: ^4.8.35 || ^5.7 || ^6.4 || ^7.0
- squizlabs/php_codesniffer: *
Suggests
- guzzlehttp/guzzle: Required for using Guzzle HTTP client
This package is auto-updated.
Last update: 2024-09-07 13:30:12 UTC
README
PHP版的Paydirectly SDK
用于paydirectly API的PHP库。
安装
推荐通过 Composer 安装 paydirectly-php
composer require paydirectly/paydirectly-php
安装后,您需要引入Composer的自动加载器
require 'vendor/autoload.php';
快速入门
所有配置都通过单个变量 config
传递
$paydirectly = new \paydirectly\paydirectly([ 'merchant_id' => 'id_ ...', 'secret_key' => 'sk_live_ ...', ]);
文档
丰富的文档可在 https://php.paydirectly.io 查阅。