plan-it-app/planit-php-sdk

用于访问 plan-it API 的 PHP SDK

0.0.6 2016-04-11 07:07 UTC

This package is not auto-updated.

Last update: 2024-09-20 19:09:09 UTC


README

用法

plan-it-app/planit-php-sdk 添加到项目的 composer.json 文件中作为依赖项

{
	"require": {
		"plan-it-app/planit-php-sdk": "^1.0"
	}
}

创建新实例

use Planit\API;

$x = new \Planit\API(TOKEN, [
	'ignoreSSL' => false, // default
	'cookies_jar' => true // default is true, can set a new \GuzzleHttp\Cookie\CookieJar if you want
]);