trustedsign / sdk-php
Wrapper for TrustedSign's REST API
v0.0.1
2016-03-22 02:15 UTC
Requires
- php: >=5.4.0
Requires (Dev)
This package is not auto-updated.
Last update: 2025-01-16 02:29:33 UTC
README
可信签php语言开发包
安装
composer require trustedsign/sdk-php
用法
$client = new TrustedSignSDK\TrustedSignClient([ 'app_key' => '9b5062s452mdf4d6', 'app_secret' => '2e396b27a1958279240e088c677e4721' ]); try { $response = $client->get('/template'); } catch(TrustSignSDK\SDKException $e) { echo 'server returned an error: ' . $e->getMessage(); exit; }