Skip to content

paywhirl/php-pwclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A convenient PayWhirl API wrapper in PHP

The PayWhirl PHP library is provided to allow developers to access PayWhirl services without needing to write their own API wrappers.

The Documentation linked here and below contains all of the available methods for interacting with your PayWhirl account. If you would like to see additional functionality added, feel free to submit an issue or a pull request.

Usage Guide

Table of Contents

Requirements

Installation

The recommended way of including this package in your project is by using Composer:

$ composer require paywhirl/paywhirl

Make sure to use Composer's autoload:

require_once __DIR__ . '/vendor/autoload.php';

Usage

To create a new PayWhirl object, you need to pass in your API key and secret, which can be found in the API key section of the main site.

use PayWhirl\PayWhirl;

$api_key = "pwpk_xxxxxxxxxxxxxxx";
$api_secret = "pwpsk_xxxxxxxxxxx";

$paywhirl = new \PayWhirl\PayWhirl($api_key, $api_secret);

print_r($paywhirl->getAccount());

License

PayWhirl is copyright © 2016-2018 PayWhirl Inc. This library is free software, and may be redistributed under the terms specified in the license.

About

PayWhirl Inc. and the names and logos for PayWhirl are trademarks of PayWhirl inc.

For additional information, please see our Terms of Use and Privacy Policy

About

Paywhirl developer kit for PHP.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages