simon-payments/simon-php

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

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/simon-payments/simon-php

dev-master 2017-03-28 06:45 UTC

This package is not auto-updated.

Last update: 2025-10-26 08:08:15 UTC


README

Circle CI

Requirements

PHP 5.4 and later.

Composer

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

composer require simon-payments/simon-php

To use the bindings, use Composer's autoload:

require_once('vendor/autoload.php');

Getting Started

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

use \Simon\Settings;
use \Simon\Bootstrap;

Settings::configure([
    "root_url" => "https://api-staging.simonpayments.com",
    "username" => 'US6UjNRgFDxXY24GqPKajTtk',
    "password" => '04b5f38a-bae6-4d31-9267-c77a5620a26c'
]);

Bootstrap::init();

See the tests for more details.

Running tests

./vendor/bin/phpunit

See circle.yml for more details.