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

1.0.1 2017-12-29 21:26 UTC

This package is not auto-updated.

Last update: 2024-05-26 03:22:20 UTC


README

CircleCI

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 lacore-payment-tech/lacore-php

To use the bindings, use Composer's autoload:

require_once('vendor/autoload.php');

Getting Started

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

use \Lacore\Settings;
use \Lacore\Bootstrap;

Settings::configure([
    "root_url" => "https://lacore-sandbox.finixpayments.com",
    "username" => 'USed8KcvU1NcqCjL2gecsdE7',
    "password" => '6bb7691d-eb11-4fba-a65e-c8f352dca244 '
]);

Bootstrap::init();

See the tests for more details.

Running tests

./vendor/bin/phpunit

See circle.yml for more details.