getnet / getnet-php
GetNet PHP 库
dev-master
2018-07-12 00:59 UTC
Requires
- php: >5.3
- ext-curl: *
- ext-json: *
- ext-mbstring: *
This package is not auto-updated.
Last update: 2024-09-20 08:01:46 UTC
README
为GetNet API提供PHP集成
安装
通过Composer
composer require 'getnet/getnet-php'
使用
基本
您需要客户端ID和客户端密钥进行认证
$authenticate = [ 'client_id' => 'eb153ef1...e47b199', 'client_secret' => 'fcf1e007...de0b9e6' ]; $authorization = new GetNet_Token($authenticate); $authorization->authorize();
Wiki
查看Wiki获取详细文档。