finix/processing-php

A PHP HTTP Client conforming to the HAL hypermedia type for the Finix processing API

1.0.5 2016-12-27 04:36 UTC

README

Circle CI

Requirements

PHP 5.4 and later.

Issues

Please use appropriately tagged github issues to request features or report bugs.

Composer

You can install the bindings via Composer. Run the following command:

composer require finix/processing-php

To use the bindings, use Composer's autoload:

require_once('vendor/autoload.php');

Getting Started

If you do not wish to use Composer, you can download the latest release. Then, require all bootstrap files:

require('/path/to/Finix/Settings.php');
require('/path/to/Finix/Bootstrap.php');

use \Finix\Settings;
use \Finix\Bootstrap;

Settings::configure([
    "root_url" => "https://api-staging.finix.io",
    "username" => 'US4CoseCAaB5RjTYrnwfDrZa',
    "password" => '4ca5aef5-f077-4277-a785-00f2cab07c21'
]);

Bootstrap::init();

See the tests for more details.