2017 © Pedro Peláez
 

library php-sdk-v1

Prosperworks PHP SDK

image

prosperworks/php-sdk-v1

Prosperworks PHP SDK

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 2 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

Prosperworks PHP SDK

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

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

Installation

With Composer. Add the Prosperworks PHP SDK package to your composer.json file., (*3)

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

Usage

Note: PHP 5.4 or greater is required., (*4)

Using, (*5)

$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

The Versions

07/03 2018

dev-master

9999999-dev https://github.com/radoneman/prosperworks-php-sdk

Prosperworks PHP SDK

  Sources   Download

GPL-2.0

The Requires

  • php >=5.4.0
  • ext-mbstring *

 

The Development Requires

api sdk prosperworks

11/08 2015

1.0.0

1.0.0.0 https://github.com/radoneman/prosperworks-php-sdk

Prosperworks PHP SDK

  Sources   Download

GPL-2.0

The Requires

  • php >=5.4.0
  • ext-mbstring *

 

The Development Requires

api sdk prosperworks