承接 prosperworks/php-sdk-v1 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

prosperworks/php-sdk-v1

最新稳定版本:1.0.0

Composer 安装命令:

composer require prosperworks/php-sdk-v1

包简介

Prosperworks PHP SDK

README 文档

README

A PHP client (fancy named SDK) to access Prosperworks API. Default HTTP library is CURL but it works with Guzzle too.

Note: this is not an official Prosperworks package; all product names, logos, and brands are property of their respective owners.

Installation

With Composer. Add the Prosperworks PHP SDK package to your composer.json file.

{
    "require": {
        "prosperworks/php-sdk-v1": "~1.0"
    }
}

Usage

Note: PHP 5.4 or greater is required.

Using

$config = array(
    'access_token' => 'YOURACCESSTOKENHERE',
    'user_email' => 'youremail@domain.com'
    // 'client_http' => 'guzzle' // if you want to use guzzle 5.0    
);

$app = new Prosperworks($config);
$result = $app->post('companies/search');
print_r($result);

Tests

  1. Composer is a prerequisite for running the tests. Install composer globally, then run composer install to install required files.
  2. Get API credentials from Prosperworks and update the $config array.
  3. The tests can be executed by running this command from the root directory:
$ ./vendor/bin/phpunit

统计信息

  • 总下载量: 1.56k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-08-11