huicui / huicuiapi
HuicuiApi for PHP
1.3.0
2017-09-19 11:29 UTC
Requires
- php: ^5.3.3
- guzzlehttp/guzzle: *
- monolog/monolog: *
- psr/log: ^1.0.1
Requires (Dev)
- guzzlehttp/guzzle: *
- monolog/monolog: *
- phpspec/prophecy: ^1.6.1
- phpunit/phpunit: ^5.5
- predis/predis: ^1.1
Suggests
- guzzlehttp/guzzle: Used for sending Http requests
- monolog/monolog: To deal with the log
Provides
- psr/log-implementation: 1.0.0
README
HuicuiApi
Assemble human API
Huicui Api for PHP
Huicui human Api for PHP (SDK)
Install
Via Composer
$ composer require huicui/huicuiapi
Basic Usage
Have to initialize can be used
Usage Example one.
<?php
require __DIR__ . '/../../autoload.php';
$AppId='';
$appKey='';
$AppSecret='';
$hcapi = new HuicuiApi\HuicuiApi($AppId, $appKey, $AppSecret);
Usage Example two.
<?php
require __DIR__ . '/../../autoload.php';
$AppId='';
$appKey='';
$AppSecret='';
$hcapi = HuicuiApi\HuicuiApi::getInstance($AppId, $appKey, $AppSecret);
具体使用请参考 doc 目录中的文档