simon-payments / simon-php
A PHP HTTP Client conforming to the HAL hypermedia type for the Simon Payments processing API
dev-master
2017-03-28 06:45 UTC
Requires
- php: >=5.4.0
- finix/processing-php: ==1.0.5
Requires (Dev)
- phpunit/phpunit: 4.0.*
This package is not auto-updated.
Last update: 2024-04-14 00:02:04 UTC
README
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.