Skip to content

G-YDG/kwaixiaodian-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kwaixiaodian-sdk

let php developer easier to access kwaixiaodian api

Install the latest version with

$ composer require ydg/kwaixiaodian-sdk"

Basic Usage

<?php

use Ydg\KwaixiaodianSdk\Kwaixiaodian;

$app = new Kwaixiaodian([
    'app_key' => 'your app_key',
    'app_secret' => 'your app_secret',
    'sign_secret' => 'your sign_secret',
    'access_token' => 'your access_token',
    'http' => [ // set default options to http client
        'headers' => [
            'Content-Type' => 'application/x-www-form-urlencoded',
            'Accept' => 'application/json;charset=UTF-8',
        ],
    ]
]);
$app->user->openUserInfoGet();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages