Skip to content

pokepay/partner-php-sdk

Repository files navigation

Pokepay Partner API SDK for PHP

Prerequisites

  • PHP 5.6 or above
  • curl, json and openssl extensions

Installation with Composer

Install Composer if not already installed.

composer.json settings

Install this SDK by executing composer require pokepay/partner-php-sdk on your shell.

$ composer require pokepay/partner-php-sdk

Configuration

Client credentials have to be set before attempting API requests. Pokepay\PartnerAPI takes the location of a configuration INI file as an argument.

$client = new Pokepay\PartnerAPI('./config.ini');

If it's not given, the file location is set from an environment variable POKEPAY_PARTNER_CONFIG_FILE.

Running tests

$ POKEPAY_PARTNER_CONFIG_FILE=/path/to/config.ini ./vendor/phpunit/phpunit/phpunit

Documentation

See docs/.

Copyright

Copyright (c) 2019 Pocket Change, Inc.

About

Pokepay Partner API SDK for PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages